You are killed in a plane crash and find yourself in front of 2 doors: one leads to heaven and one will lead you to hell for eternity. There is an identical troll at each door. You find instructions posted on the wall behind you. You can ask only one question and you can only direct it to only one of the trolls. One troll will always lie to you - regardless of your question - and the other will always tell you the truth. And only the trolls themselves know which one will lie and which one will be truthful. That is all that you are told.... What is the one and only question that will ensure you passage to heaven, and why?
Ask any of the tolls this question. "If I were to ask the other troll which is the door to Heaven, which door would he point to?" Now when the troll answers by pointing to one of the doors you simply take the other door.