Use range-based loops