Function: mean(product(product(numbers('rep') if numbers('rep') > numbers("xxx") else numbers("per"), numbers("per")), numbers("per") if numbers('rep') > numbers('rep') else numbers("xxx")), product(numbers('rep') if numbers('rep') > numbers("xxx") else numbers("per"), numbers("per"))) if product(numbers("xxx") if numbers('rep') > numbers("per") else numbers('rep'), numbers("per")) > product(product(numbers('rep') if numbers("xxx") > numbers('rep') else numbers("per"), numbers("per")), numbers("per") if numbers('rep') > numbers("xxx") else numbers('rep')) else numbers('rep') if numbers("xxx") > numbers('rep') else numbers("per")