The local soccer team sold bottled water at its last game for $0.50 a bottle. The team earned $160. How many bottles did the team sell?