A coin bank contains only nickels and dimes. The number of dimes in the bank is two less than twice the number of nickels. There are 52 coins in the bank. How much money is in the bank?