Function: square(max(divide(min(numbers("per") if sum(numbers('rrr'), numbers('yxy')) > numbers('yxy') else numbers('rrr'), sum(numbers('rrr'), numbers('yxy'))), numbers('yxy') if sum(numbers('rrr'), numbers('yxy')) > numbers('rrr') else numbers("per")), min(numbers('rrr') if sum(numbers('rrr'), numbers('yxy')) > numbers('yxy') else numbers("per"), sum(numbers('rrr'), numbers('yxy')))))