When Aunt Li goes shopping in the supermarket, the price of a hat is 18.7 yuan, and a pair of slippers is 12.3 yuan more expensive than a hat. How much did Aunt Li spend on these two items?
李阿姨到超市购物，一顶帽子的价格是18.7元，一双拖鞋比一顶帽子贵12.3元．李阿姨买这两样物品共花多少钱？
<gadget id="calculator">18.7 + 12.3 + 18.7</gadget>
<output>49.7</output>

<result>49.7</result>