Passengers filled buses in Sort the Passenger and were ready to go in their direction, but it suddenly turned out that during the sale of tickets, negligent cashiers were confused and a lot of passengers did not get on their buses and could go away not there. Where they need. It is necessary to sort and ensure that passengers of the same color are located in each bus. To do this, place the buses near the parking lot in which there are the same passengers, they will move, and the completed transport will leave for Sort the Passenger.