A recreation center holds a soccer game every Saturday morning for older teens. The group agreed that there should be at least five players on each team. One team started out with 17 players. After an hour of playing three players started leaving every 5 minutes. For at least how long can the team keep playing?