One hundred and ninety students go on a tour. They go in minibuses that carry 14 passengers each and in buses that carry 40 passengers each. There were right vehicles used, all full. How many of each type of vehicle were used? (How do you get the answer?)