In the mid-term exam of Class 5 and 2, there are 15 students who are excellent in Chinese, 32 students who are excellent in mathematics, and 6 students who are not excellent in both subjects. There are 45 students in Class 5 and 2. How many students are excellent in both Chinese and English?
五2班期中考试中语文优秀的有15人，数学优秀的有32人，两科都没达到优秀的有6人，五2班共有学生45人，语数都优秀的有多少人？
<gadget id="calculator">15 + 32</gadget>
<output>47</output>

<gadget id="calculator">45 - 6</gadget>
<output>39</output>

<gadget id="calculator">47 - 39</gadget>
<output>8</output>

<result>8</result>