Function: max(mean(numbers("yxx"), numbers('yxy')), numbers("yxx")) if mean(numbers("yxx"), numbers('yxy')) > numbers("yxx") if mean(numbers("yxx"), numbers('yxy')) > numbers('yxy') else max(mean(numbers("yxx"), numbers('yxy')), numbers("yxx")) else min(numbers("yxx") if mean(numbers("yxx"), numbers('yxy')) > max(mean(numbers("yxx"), numbers('yxy')), numbers("yxx")) else numbers('yxy'), max(mean(numbers("yxx"), numbers('yxy')), numbers("yxx")))