Function: minus(100 *(numbers('rep') if numbers("xxx") > numbers('rep') if numbers("xxx") > numbers('ryy') else numbers("xxr") else numbers("xxr")) if numbers('rep') if numbers("xxx") if numbers("xxr") > numbers('rep') else numbers('ryy') > numbers("xxr") else numbers("xxx") > numbers("xxr") else numbers('rep') if numbers("xxr") > numbers("xxx") else numbers('ryy'), 100 *(numbers('ryy') if numbers('rep') > numbers("xxx") else numbers("xxr") if numbers("xxx") > numbers("xxr") else numbers('rep')))