Turn on first switch for 15 minutes and now turn it off and turn on switch number 2 and move inside the room. If the bulb is on then it is connected to second switch and if it is off then go and touch it. If it is hot then it is connected to first switch else the bulb is connected to third switch.