dmetras: You have been sentenced to be put to death tomorrow. But as is the custom in Goglandia, you are given one chance at freedom. When you awake the next day, you find yourself in a small room with two doors, two guards, and a scroll in your pocket.
You open the scroll, which reads, "One door leads to freedom, the other to your death. One guard is ordered to speak only the truth, the other only in lies. There are but two rules for your chance to escape. First, if you open a door, you must step through it. Second, you may ask only one question, which will be answered by both guards."
With this knowledge, what question do you ask to figure out which door leads to your freedom?
Ask one of them. "If you speak like the second guard which door leads to safe?" And than use different Hope you understand what i mean:)