Function: invert(numbers('yxr') if numbers("per") > numbers("yyy") else product(numbers("per"), numbers('yxr')) if numbers("per") > product(numbers("per"), numbers('yxr')) else numbers("yyy") if numbers("per") > numbers('yxr') else product(numbers("per"), numbers('yxr')) if numbers('yxr') > product(numbers("per"), numbers('yxr')) else numbers("per"))