Bob has 54 more five-dollar bills than ten-dollar bills. The number of five-dollar bills he has
is 7 times that of ten-dollar bills. How many dollars does Bob have in all?