A Ruby program to process cinema booking requests