Write a program to assign seats to passengers in an aircraft.