He deposited $540.16. In cash he deposited 17 one-dollar bills, 4 five-dollar bills, and 6 twenty-dollar bills. What was His total deposit