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