Function: invert(numbers("yxx") if product(numbers("yxx"), numbers('yyx')) > numbers('yyx') else min(product(numbers("yxx"), numbers('yyx')), numbers("yxx")) if min(product(numbers("yxx"), numbers('yyx')), numbers("yxx")) > min(product(numbers("yxx"), numbers('yyx')), numbers("yxx")) if numbers('yyx') > numbers("yxx") else product(numbers("yxx"), numbers('yyx')) if numbers("yxx") > min(product(numbers("yxx"), numbers('yyx')), numbers("yxx")) else product(numbers("yxx"), numbers('yyx')) else product(numbers("yxx"), numbers('yyx')))