Function: mean(sum(invert(numbers('xry')), numbers('xry')) if invert(numbers('xry')) > sum(invert(numbers('xry')), numbers('xry')) if numbers('ryy') > invert(numbers('xry')) else numbers('xry') else numbers('xry'), numbers('ryy') if sum(invert(numbers('xry')), numbers('xry')) > numbers('xry') else invert(numbers('xry')))