During vacation, Jimmy visits different beaches on an island, so he changes his place of lodging from time to time. The first 3 days he stays in a hostel, where he is charged $15 per night. The fourth and fifth days he stays in a cabin where he shares expenses with 2 of his friends, and they are charged $45 total per night. How much did Jimmy spend on lodging? Let's think step by step and output the final answer after "####".
user
For the first 3 days, he pays 3 * $15 = $<<3*15=45>>45
The next 2 days, he and his friends pay $45 * 2 =$<<45*2=90>>90
Jimmy and his 2 friends pay $90 / 3 = $<<90/3=30>>30 each.
In total, Jimmy spent $45 + $30 = $<<45+30=75>>75
#### 75
During vacation, Jimmy visits different beaches on an island, so he changes his place of lodging from time to time. The first 3 days he stays in a hostel, where he is charged $15 per night. The fourth and fifth days he stays in a cabin where he shares expenses with 2 of his friends, and they are charged $45 total per night. How much did Jimmy spend on lodging?
train