Function: invert(invert(numbers('xyy') if numbers("xxx") > numbers('yxr') else numbers('rrr')) if numbers('xyy') if numbers('rrr') > numbers("xxx") else numbers('yxr') > numbers("xxx") else minus(invert(numbers('yxr') if numbers("xxx") > numbers('xyy') else numbers('rrr')), numbers('xyy') if numbers("xxx") > numbers('yxr') else numbers('rrr')))