Function: mean(numbers("per") if numbers("xxy") > numbers('yxr') else numbers('xry') if numbers('xry') > numbers('yxr') else minus(numbers('xry') if numbers("xxy") > numbers("per") else numbers('yxr'), numbers('yxr')) if numbers('yxr') if numbers('xry') > numbers("per") else numbers("xxy") > minus(numbers("per") if numbers("xxy") > numbers('yxr') else numbers('xry'), numbers('yxr')) else numbers('yxr'), numbers('xry') if minus(numbers("per") if numbers("xxy") > numbers('yxr') else numbers('xry'), numbers('yxr')) > numbers('yxr') else numbers('xry') if numbers("per") > numbers("xxy") else numbers('yxr'))