Function: mod(numbers("xxy"), numbers('xyy')) if mod(mod(numbers("xxy"), numbers('xyy')), numbers("xxy")) > invert(numbers('xyy') if numbers("xxy") > mod(numbers("xxy"), numbers('xyy')) else mod(mod(numbers("xxy"), numbers('xyy')), numbers("xxy"))) else numbers('xyy') if mod(numbers("xxy"), numbers('xyy')) > mod(mod(numbers("xxy"), numbers('xyy')), numbers("xxy")) else numbers("xxy")