Rocco went bowling with $40 to spend. He rented shoes for $7 and paid $6 for each game. What was the greatest number of games Rocco could have played?