Function: minus(numbers('rep'), numbers("xyx")) if numbers("xxy") > numbers('rep') else numbers("xyx") if minus(numbers('rep'), numbers("xyx")) > product(numbers('rep') if minus(numbers('rep'), numbers("xyx")) > numbers("xyx") else numbers("xxy"), minus(numbers('rep'), numbers("xyx"))) else exp(product(minus(numbers('rep'), numbers("xyx")) if numbers("xxy") > numbers('rep') else numbers("xyx"), minus(numbers('rep'), numbers("xyx"))), numbers("xxy") if numbers('rep') > minus(numbers('rep'), numbers("xyx")) else numbers("xyx"))