Hannah is at a restaurant. She spends $23 in total on an entree and a dessert. If the entree costs $5 more than the dessert, how much does the entree cost, in dollars? Let's think step by step and output the final answer after "####".
user
Let D be the cost of the dessert in dollars.
The entree costs D+5 dollars
D+(D+5)=23
2D+5=23
2D=18
D=<<9=9>>9
The entree costs $<<14=14>>14.
#### 14
Hannah is at a restaurant. She spends $23 in total on an entree and a dessert. If the entree costs $5 more than the dessert, how much does the entree cost, in dollars?
train