Function: mod(round(numbers('rrr') if min(numbers('rep'), numbers('rrr')) > numbers('rep') else product(min(numbers('rep'), numbers('rrr')), numbers('rep')), product(min(numbers('rep'), numbers('rrr')), numbers('rep'))), min(numbers('rep'), numbers('rrr')) if numbers('rep') > product(min(numbers('rep'), numbers('rrr')), numbers('rep')) else numbers('rrr'))