A school group goes to a basketball game for a group rate of $120. The stadium charges $7 extra for snacks per student. If the school group spent a total of $337, how many students attended the game?