There are 100 lockers in a school. Gerry opens every single locker. Then he closes every second locker. Then he goes to every third locker, closing it if it is open, or opening it if it is closed.
Then he does the same with every fourth locker and so on. The process is completed with the hundredth locker.

How many lockers are open at the end?