prompt: To celebrate a recent promotion, Arthur decided to treat himself to dinner at a nice restaurant. He ordered a nice appetizer for $8, a delicious ribeye steak for his entrée at $20, had two glasses of nice red wine with dinner for $3 each, and a slice of caramel cheesecake for dessert for $6. He used a voucher for half off the price of his entrée, but he very thoughtfully tipped his waitress a full 20% of what the full cost of his meal would have been without the discount. How much, including the tip, did Arthur spend on dinner?
messages.content: To celebrate a recent promotion, Arthur decided to treat himself to dinner at a nice restaurant. He ordered a nice appetizer for $8, a delicious ribeye steak for his entrée at $20, had two glasses of nice red wine with dinner for $3 each, and a slice of caramel cheesecake for dessert for $6. He used a voucher for half off the price of his entrée, but he very thoughtfully tipped his waitress a full 20% of what the full cost of his meal would have been without the discount. How much, including the tip, did Arthur spend on dinner?
messages.role: user
messages.content: The cost of his food, before the voucher, was $8 + $20 + $3 + $3 + $6 = $<<8+20+3+3+6=40>>40.
  The tip was $40 * .20 = $<<40*.20=8>>8.
  The voucher saved him $20 / 2 = $<<20/2=10>>10.
  So the full price of Arthur's meal, with tip, was $40 - $10 + 8 = $<<40-10+8=38>>38.
  #### 38
messages.role: assistant