There is a beach soccer tournament with 17 teams, where each team plays against every other team exactly once. A team earns 3 points for a win in regular time, 2 points for a win in extra time, and 1 point for a win in a penalty shootout. The losing team earns no points. What is the maximum number of teams that can each earn exactly 5 points?