Function: product(product(numbers("per"), numbers('rep')) if numbers('rep') if product(numbers("per"), numbers('rep')) > numbers("per") else numbers('yxy') > numbers("per") else minus(numbers("per") if numbers('rep') > product(numbers("per"), numbers('rep')) else numbers('yxy'), product(numbers("per"), numbers('rep'))), minus(product(numbers("per"), numbers('rep')) if numbers('rep') > numbers('yxy') else numbers("per"), product(numbers("per"), numbers('rep'))))