Function: invert(numbers('rep') if numbers("yyy") > numbers("per") else numbers('xry') if min(numbers("per") if numbers("yyy") > numbers('rep') else numbers('xry'), numbers('rep')) > numbers('xry') if min(numbers('xry') if numbers("yyy") > numbers('rep') else numbers("per"), numbers('rep')) > numbers('rep') else numbers("per") if numbers('xry') > numbers("yyy") else numbers('rep') else min(numbers('xry') if numbers('rep') > numbers("yyy") else numbers("per"), numbers('rep')) if min(numbers('rep') if numbers("per") > numbers("yyy") else numbers('xry'), numbers('rep')) if numbers('rep') > numbers("yyy") if numbers('xry') > numbers('rep') else numbers("per") else numbers('xry') > numbers("yyy") if numbers('xry') > numbers('rep') else numbers("per") else numbers('rep'))