On Children’s Day, the school’s gallery displayed the pictures of students of each grade. Among them, 25 paintings were not from the third grade, 19 paintings were not from the fourth grade, and there were 8 paintings from the third and fourth grades. , how many paintings from other grades participated in the exhibition?
六一儿童节那天，学校的画廊里展出了每个年级学生的图画作品，其中有25幅画不是三年级的，有19幅画不是四年级的，三、四年级参展的画共有8幅，其他年级参展的画共有多少幅？
<gadget id="calculator">25 + 19 + 8</gadget>
<output>52</output>

<gadget id="calculator">52 / 2</gadget>
<output>26</output>

<gadget id="calculator">26 - 8</gadget>
<output>18</output>

<result>18</result>