Function: sum(numbers('rep') if numbers("yxx") > numbers("xxr") else numbers("xyx"), numbers('rep')) if numbers("yxx") if numbers("xxr") > numbers("xyx") else numbers('rep') > minus(numbers("xyx") if numbers('rep') > numbers("yxx") else numbers("xxr") if numbers("xyx") > sum(numbers("xxr") if numbers("xyx") > numbers("yxx") else numbers('rep'), numbers('rep')) else numbers('rep'), sum(numbers("xyx") if numbers("xxr") > numbers("yxx") else numbers('rep'), numbers('rep'))) else sum(numbers('rep') if numbers("yxx") > numbers("xyx") else numbers("xxr"), numbers('rep')) if numbers('rep') > numbers('rep') if numbers("xxr") > numbers("yxx") else numbers("xyx") else numbers("xyx")