Guangming Photo Gallery stipulates: 0.55 yuan per photo for printing, and 0.45 yuan per photo for parts exceeding 36. Teacher Li washed 43 photos at a time, how much did he have to pay in total?
光明相馆规定：洗照片0.55元/张，超过36张部分，每张收取0.45元．李老师一次洗了43张照片，一共要付多少钱？
<gadget id="calculator">43 - 36</gadget>
<output>7</output>

<gadget id="calculator">7 * 0.45</gadget>
<output>3.15</output>

<gadget id="calculator">0.55 * 36</gadget>
<output>19.8</output>

<gadget id="calculator">3.15 + 19.8</gadget>
<output>22.95</output>

<result>22.95</result>