Zhang Ye has 4 pencils, 3 ballpoint pens, and 2 fountain pens. If he wants to take out a pen to write, how many ways are there?
张烨有4支铅笔，3支圆珠笔，2支钢笔，他要取出一支笔写字，取出的方法有多少种？
<gadget id="calculator">4 + 3 + 2</gadget>
<output>9</output>

<result>9</result>