A play of Romeo and Juliet is being held in the theatre tonight, hundred of people have been waiting this moment for months.
Many people are currently working hard in the theatre to adjust the final details.
Ernest's job is to ensure an adequate lighting in the theatre, else it would be impossible for the actors to perform.
Today, Ernest is experiencing a weird issue with his $1000$ lights: when he triggers the switch of the $i_{th}$ light, it changes status along with all its multiples. For example, triggering the $3$rd switch will change status to the lights with index $3,6,9,12,...$.
Suppose that all the lights are initially off.
Ernest is not a mathematician and is in hurry, so you must tell him how many lights will be on if he triggers all the switches.
You tell him the answer and he thinks that this number of lights is enough. Unintentionally, when it's the right moment to turn on the lights, he breaks the first five switches because of haste!
Now he wants to know the maximum number of lights he can turn on! Is it still enough for the play?
Notes: The broken switches are off.