Function: invert(round(numbers("xxr") if numbers('xyy') if numbers("xxr") > round(numbers("xxr"), numbers('xyy')) else numbers("per") > round(numbers("xxr"), numbers('xyy')) else square(numbers('xyy') if round(numbers("xxr"), numbers('xyy')) > numbers("per") else numbers("xxr")), square(numbers('xyy') if numbers("per") > round(numbers("xxr"), numbers('xyy')) else numbers("xxr"))))