Function: cos(sum(sum(numbers("xxx") if numbers('rep') > numbers("per") else numbers("yyy"), numbers("per")), numbers('rep') if numbers("per") > numbers("yyy") else numbers("xxx"))) if sum(numbers("yyy") if numbers("per") > numbers("xxx") else numbers('rep'), numbers("per")) > sum(sum(numbers('rep') if numbers("yyy") > numbers("per") else numbers("xxx"), numbers("per")), numbers("xxx") if numbers('rep') > numbers("yyy") else numbers("per")) else numbers("yyy") if numbers("per") > numbers("xxx") else numbers('rep')