Function: sum(numbers('rep') if numbers("per") > gradient[0](numbers("per") if numbers("yyy") > numbers('xry') else numbers('rep')) else numbers('rep') if numbers('xry') > numbers("yyy") else numbers("per"), gradient[0](numbers('xry') if numbers("yyy") > numbers("per") else numbers('rep'))) if numbers('rep') if numbers("yyy") > numbers('xry') else numbers("per") > gradient[0](numbers('rep') if numbers("yyy") > numbers("per") else numbers('xry')) else numbers('rep') if numbers("per") if numbers('xry') > numbers("yyy") else numbers('rep') > gradient[0](numbers("yyy") if numbers('xry') > numbers("per") else numbers('rep')) else numbers("per")