Function: mod(numbers('rrr') if numbers('xyy') > numbers('yxr') else numbers("per"), numbers('yxr')) if abs(mod(numbers('rrr') if numbers('xyy') > numbers('yxr') else numbers("per"), numbers('yxr'))) > 10 *(minus(abs(mod(numbers('rrr') if numbers('yxr') > numbers('xyy') else numbers("per"), numbers('yxr'))), mod(numbers('rrr') if numbers('xyy') > numbers('yxr') else numbers("per"), numbers('yxr')))) else minus(abs(mod(numbers("per") if numbers('xyy') > numbers('yxr') else numbers('rrr'), numbers('yxr'))), mod(numbers("per") if numbers('xyy') > numbers('yxr') else numbers('rrr'), numbers('yxr')))