Xiao Ming travels by train during his vacation. There are 22 carriages in front of the carriage he is sitting in, and 5 carriages in the back. How many carriages does this train have?
小明假期坐火车去旅游，他坐的车厢前面有22节车厢，后面还有5节，这列火车一共有多少节车厢．
<gadget id="calculator">22 + 5 + 1</gadget>
<output>28</output>

<result>28</result>