The cafeteria at San Isidro Elementary has 18 tables. Fourteen of the tables seat 14 students each and the rest of the tables seat 16 students each. What is the maximum number of students that can sit at the tables in the cafeteria at one time?