Function: round(min(numbers("per") if mod(numbers("per"), numbers('xyy')) > numbers('rep') if numbers("per") > mod(numbers("per"), numbers('xyy')) else numbers('xyy') else sqrt(numbers("per") if mod(numbers("per"), numbers('xyy')) > numbers('rep') else numbers('xyy')), sqrt(numbers("per") if numbers('rep') > mod(numbers("per"), numbers('xyy')) else numbers('xyy'))), sqrt(numbers('rep') if numbers('xyy') > numbers("per") else mod(numbers("per"), numbers('xyy'))) if numbers("per") > numbers("per") if numbers('rep') > mod(numbers("per"), numbers('xyy')) else numbers('xyy') else mod(numbers("per"), numbers('xyy')))