prompt: Jude bought three chairs for his house, all at the same price. He also bought a table that costs $50 and two sets of plates at $20 for each set. After giving the cashier $130, Jude got a $4 change. How much did each of the chairs cost?
messages.content: Jude bought three chairs for his house, all at the same price. He also bought a table that costs $50 and two sets of plates at $20 for each set. After giving the cashier $130, Jude got a $4 change. How much did each of the chairs cost?
messages.role: user
messages.content: The two sets of plates amount to $20 x 2 = $<<20*2=40>>40.
  So the table and the two sets of plates amount to $50 + $40 = $<<50+40=90>>90 in all.
  Since Jude received a $4 change, then he paid a total of $130 - $4 = $<<130-4=126>>126 for the chairs, tables, and plates.
  Thus, the three chairs cost $126 - $90 = $<<126-90=36>>36.
  Therefore, each chair cost $36/3 = $<<36/3=12>>12.
  #### 12
messages.role: assistant