Function: minus(max(sum(10 *(numbers('yxr') if numbers('xyy') > numbers("yxx") else numbers('rep')), numbers('rep') if numbers('xyy') > numbers("yxx") else numbers('yxr')), 10 *(numbers('xyy') if numbers('yxr') > numbers('rep') else numbers("yxx"))) if numbers('rep') if numbers('xyy') > numbers('yxr') else numbers("yxx") > 10 *(numbers("yxx") if numbers('xyy') > numbers('rep') else numbers('yxr')) else sum(10 *(numbers("yxx") if numbers('rep') > numbers('yxr') else numbers('xyy')), numbers('xyy') if numbers("yxx") > numbers('rep') else numbers('yxr')), max(sum(10 *(numbers('xyy') if numbers("yxx") > numbers('yxr') else numbers('rep')), numbers('rep') if numbers('xyy') > numbers('yxr') else numbers("yxx")), 10 *(numbers('rep') if numbers("yxx") > numbers('xyy') else numbers('yxr'))))