Wallet A contains 36 coins of quarters and loonies in the ratio 2:7. Wallet B contains 36 coins of quarters and loonies in the ratio 1:3. Wallet C contains 36 coins of quarters and loonies in the ratio 1:5. Calculate the amount of money in each wallet. Which wallet contains the greatest amount of money?