Each player in a tournament plays six games. There are no ties. The tournament director assigns each player to a group from the game results:
- a player who wins 5 or 6 games goes to Group 1;
- a player who wins 3 or 4 games goes to Group 2;
- a player who wins 1 or 2 games goes to Group 3;
- a player who wins no games is eliminated from the tournament.
Write a program that determines which group a player is assigned to.