prompt: A math teacher had $100 to buy three different types of calculators. A basic calculator costs $8. A scientific calculator costs twice the price as the basic while a graphing calculator costs thrice the price as the scientific. How much change did she receive after buying those three different types of calculators?
messages.content: A math teacher had $100 to buy three different types of calculators. A basic calculator costs $8. A scientific calculator costs twice the price as the basic while a graphing calculator costs thrice the price as the scientific. How much change did she receive after buying those three different types of calculators?
messages.role: user
messages.content: A scientific calculator costs $8 x 2 = $<<8*2=16>>16.
  A graphing calculator costs $16 x 3 = $<<16*3=48>>48.
  So, she spent $8 + $16 + $48 = $<<8+16+48=72>>72 for the three calculators.
  Therefore, the math teacher received $100 - $72 = $<<100-72=28>>28 change.
  #### 28
messages.role: assistant