Vin Diesel is pulling a theft and has planned to run away with all the cash kept in the safe. But the only way to open the safe is the 13 character password. He has a set of five clues given to him by a trustworthy source.
Exactly two of the below statements are false.
The password is contained within this sentence.
The password is not in this hint.
The password is within only one of these statements.
At least one of the above statements is a lie.
Four friends are sitting on a tree. Each one of them is wearing a hat. They don't know which coloured hat are they wearing but they do know that two of them have green hats and two of them have orange hats.
Adam is sitting on the top branch and he can see the hats of Billy and Cyrus. Billy is sitting on a branch above Cyrus and he can see Cyrus hat. Duke is sitting at the base of the tree. Branches are covering him fully and no one can see his hat.
Now they are not allowed to look upwards. Who do you think will shout the colour of his hat first?