Function: minus(numbers("xxx") if min(numbers("xxx"), numbers('ryy')) > mod(min(numbers("xxx"), numbers('ryy')), numbers("xxx")) else divide(mod(min(numbers("xxx"), numbers('ryy')), numbers("xxx")), min(numbers("xxx"), numbers('ryy'))), divide(mod(min(numbers("xxx"), numbers('ryy')), numbers("xxx")), min(numbers("xxx"), numbers('ryy'))))