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