Natalie and 5 of her friends are going bowling.It costs $3 to play one game and $2 for each person to rent a pair of bowling shoes. If they spent a total of $21,how many games did they play?​