Function: sum(min(numbers("per") if numbers('rrr') > numbers('yyx') else numbers('xyy'), numbers('yyx')) if numbers('yyx') > numbers('xyy') if numbers("per") > numbers('yyx') else numbers('rrr') else numbers('rrr') if numbers('yyx') > numbers("per") if numbers('xyy') > numbers('yyx') else numbers('rrr') else min(numbers("per") if numbers('xyy') > numbers('yyx') else numbers('rrr'), numbers('yyx')), min(numbers('xyy') if numbers('rrr') > numbers('yyx') else numbers("per"), numbers('yyx')) if numbers('rrr') > numbers('yyx') else numbers("per") if numbers('rrr') > numbers('xyy') else numbers('yyx'))