There are 2007 lights that are on, each controlled by a pull-wire switch. Pull the pull-wire switch and the light will turn from on to off, and then pull it again from off to on. The lights are now numbered 1, 2, ..., 2007 according to their order , and then pull all the light wires numbered in multiples of 2, then pull all the light wires numbered in multiples of 3, and finally pull all the light wires numbered in multiples of 5, and it will be on after three pulls How many lamps are there?
有2007盏亮着的灯，各有一个拉线开关控制着，拉一下拉线开关灯会由亮变灭，再拉一下又由灭变亮，现按其顺序将灯编号为1，2，…，2007，然后将编号为2的倍数的灯线都拉一下，再将编号为3的倍数的灯线都拉一下，最后将编号为5的倍数的灯线都拉一下，三次拉完后亮着的灯有多少盏．
<gadget id="calculator">2_007 - 1</gadget>
<output>2_006</output>

<gadget id="calculator">2_006 / 2</gadget>
<output>1_003</output>

<gadget id="calculator">2_007 - 3</gadget>
<output>2_004</output>

<gadget id="calculator">2_004 / 6</gadget>
<output>334</output>

<gadget id="calculator">2_007 - 7</gadget>
<output>2_000</output>

<gadget id="calculator">2_000 / 10</gadget>
<output>200</output>

<gadget id="calculator">1_003 - 334 - 200</gadget>
<output>469</output>

<gadget id="calculator">2_007 - 27</gadget>
<output>1_980</output>

<gadget id="calculator">1_980 / 30</gadget>
<output>66</output>

<gadget id="calculator">469 + 66</gadget>
<output>535</output>

<gadget id="calculator">2_007 / 3</gadget>
<output>669</output>

<gadget id="calculator">2_007 - 12</gadget>
<output>1_995</output>

<gadget id="calculator">1_995 / 15</gadget>
<output>133</output>

<gadget id="calculator">669 - 334 - 133</gadget>
<output>202</output>

<gadget id="calculator">202 + 66</gadget>
<output>268</output>

<gadget id="calculator">2_007 - 2</gadget>
<output>2_005</output>

<gadget id="calculator">2_005 / 5</gadget>
<output>401</output>

<gadget id="calculator">401 - 200 - 133</gadget>
<output>68</output>

<gadget id="calculator">68 + 66</gadget>
<output>134</output>

<gadget id="calculator">2_007 - 535 - 268 - 134 - 66</gadget>
<output>1_004</output>

<result>1_004</result>