conversations.from: human
conversations.value: A shop sells school supplies. One notebook is sold at $1.50 each, a pen at $0.25 each, a calculator at $12 each, and a geometry set at $10. Daniel is an engineering student, and he wants to buy five notebooks, two pens, one calculator, and one geometry set. The shop gives a 10% discount on all the purchased items. How much does Daniel have to spend on all the items he wants to buy?
  Give me a solution to this problem
conversations.from: assistant
conversations.value: Five notebooks cost $5 x 1.50 = $7.50
  Two pens cost 2 x $0.25 = $0.50.
  The total cost is $7.50 + $0.50 + $12 + $10 =$30.
  Thus, total discount is 10/100 x $30 = $3.
  Therefore, Daniel has to spend $30 - $3 = $27 on all the items he wants to buy.