Function: sum(minus(numbers("xxy") if numbers("xyx") > divide(numbers("xyx") if numbers("xxy") > numbers('xry') else numbers('rep'), numbers("xxy")) else numbers('xry') if numbers('rep') > numbers("xxy") else numbers("xyx"), divide(numbers("xxy") if numbers('rep') > numbers("xyx") else numbers('xry'), numbers("xxy"))), divide(numbers('rep') if numbers("xyx") > numbers("xxy") else numbers('xry'), numbers("xxy")) if numbers('rep') if numbers("xxy") > numbers("xyx") else numbers('xry') > numbers("xxy") else numbers("xyx"))