You're in a room with 3 light switches. Next to your room is another room with the door closed. Inside that room are 3 lights. You do not know which switch controls which light. How can you figure out which switch controls which light?
You can only enter the room with the lights once.