Function: min(numbers("per") if sum(numbers("per"), numbers('xyy')) > sum(numbers("per"), numbers('xyy')) if numbers("per") > numbers('xyy') else numbers('rep') else 100 *(numbers('rep') if sum(numbers("per"), numbers('xyy')) > numbers("per") else numbers('xyy')), 100 *(sum(numbers("per"), numbers('xyy')) if numbers('rep') > numbers("per") else numbers('xyy')))