The cafeteria has 6 round tables and 23 rectangular tables. If each round table has 7 chairs and each rectangular table has 18 chairs, how many chairs are there in the cafeteria?