Optimal solution to the Yodle Juggle Fest problem