seating arrangement problem