Function: mod(minus(noise(numbers("yyy") if product(numbers("xxx"), numbers("yyy")) > numbers("xxx") else numbers('yxr')), product(numbers("xxx"), numbers("yyy")) if numbers('yxr') > numbers("yyy") else numbers("xxx")), noise(numbers('yxr') if product(numbers("xxx"), numbers("yyy")) > numbers("yyy") else numbers("xxx")))