Function: sum(100 *(numbers('rep') if numbers("xyx") > numbers('rep') if numbers('yxy') > numbers("xyx") else numbers('xyy') else mod(numbers('xyy') if numbers("xyx") > numbers('rep') else numbers('yxy'), numbers('rep'))), numbers('rep') if mod(numbers('yxy') if numbers('xyy') > numbers('rep') else numbers("xyx"), numbers('rep')) > numbers("xyx") else numbers('rep') if numbers("xyx") > numbers('xyy') else numbers('yxy'))