Function: gradient[0](10 *(numbers("xxr") if sum(numbers("per"), numbers("yyy")) > numbers("yyy") else numbers("per")) if numbers("per") > numbers("per") if numbers("yyy") > sum(numbers("per"), numbers("yyy")) else numbers("xxr") else sum(numbers("per"), numbers("yyy")))