Guangming Primary School held a calligraphy exhibition for students. Calligraphy works of students of each grade are exhibited in the school window, of which 24 are not in the fifth grade, and 22 are not in the sixth grade. A total of 10 calligraphy works are exhibited in the fifth and sixth grades. How many works are there in total?
光名小学举办学生书法展览．学校的橱窗里展出了每个年级学生的书法作品，其中有24幅不是五年级的，有22幅不是六年级的，五、六年级参展的书法作品一共有10幅，其他年级参展的书法作品共有多少幅？
<gadget id="calculator">22 - 10</gadget>
<output>12</output>

<gadget id="calculator">24 + 12</gadget>
<output>36</output>

<gadget id="calculator">36 / 2</gadget>
<output>18</output>

<result>18</result>