Function: 10 *(minus(numbers("yxx"), numbers('rrr')) if numbers('rrr') > product(minus(numbers("yxx"), numbers('rrr')), numbers("yxx")) else numbers("yxx")) if minus(numbers("yxx"), numbers('rrr')) > numbers('rrr') if minus(numbers("yxx"), numbers('rrr')) > numbers("yxx") else product(minus(numbers("yxx"), numbers('rrr')), numbers("yxx")) else product(minus(numbers("yxx"), numbers('rrr')), numbers("yxx"))