Function: invert(numbers('rep') if numbers("xxy") > numbers("xxr") else min(numbers("xxy"), numbers("xxr"))) if min(numbers("xxy"), numbers("xxr")) if numbers("xxr") if numbers('rep') > min(numbers("xxy"), numbers("xxr")) else numbers("xxy") > numbers("xxy") else invert(numbers("xxy") if numbers('rep') > numbers("xxr") else min(numbers("xxy"), numbers("xxr"))) > min(numbers("xxy"), numbers("xxr")) else numbers("xxr") if numbers("xxy") > numbers('rep') else min(numbers("xxy"), numbers("xxr"))