Problem 27. Three piggy banks

One millionaire has three piggy banks. In the first one he keeps just 20$ bills, in the second one he keeps just 10$ bills and in the last one he keeps only 5$ bills. There is the same number of bills in each of the three banks. How much money are there in each one of them if there is 1400$ in all of them together?