On a field trip they take busses and vans. Each bus holds 60 people and each van holds 10 people. If 390 people went on the trip and they took a total of 9 vehicles, how many of each type of vehicle did they take?