An adult ticket is 9 yuan, and a child ticket is 4 yuan. Xiao Ming bought 2 adult tickets and 1 child ticket. How much does it cost in total?
成人票9元1张，儿童票4元1张，小明买了2张成人票和1张儿童票，一共需要多少钱？
<gadget id="calculator">9 * 2</gadget>
<output>18</output>

<gadget id="calculator">18 + 4</gadget>
<output>22</output>

<result>22</result>