St. Francis's gym coach is planning a kickball tournament for the 40 students in the fourth grade. How many teams are there if the coach wants to evenly divide the students to make sure there are more than 2 teams, with each team having more than 2 students?
(1) If 17 fifth-graders are allowed to play in the tournament, one will have to serve as an alternate to evenly assign the fifth-graders to teams.
(2) If 5 third-graders are allowed to play in the tournament, one will have to serve as an alternate to evenly assign the third-graders to teams.