The school successively held competitions in three subjects: mathematics, composition, and nature. There were 25 students in a certain class who signed up to participate. Among them, 14 participated in the mathematics competition, 12 participated in the composition competition, 10 participated in the nature competition, and 4 participated in the two subjects of mathematics composition competition, and 2 participated in the two subjects of mathematics and nature competition; only one person participated in all three subjects. How many people participated in the composition and nature competition?
学校先后举行数学、作文、自然三科竞赛，某班有25人报名参加．其中14有参加数学竞赛，12人参加作文竞赛，10人参加自然竞赛，并且有4人参加数学作文两科竞赛，有2人参加数学自然两科竞赛；只有1人三科竞赛都参加．问有多少人参加作文自然两科竞赛？
<gadget id="calculator">10 - 4 - 2</gadget>
<output>4</output>

<gadget id="calculator">1 - 25</gadget>
<output>-24</output>

<gadget id="calculator">14 + 12 + 4 + (-24)</gadget>
<output>6</output>

<result>6</result>