A Dog, a Cow and a Goat were stolen. Three suspects got caught: Rahul, Mithun and Ram. Each person stole one animal, but we do not know who stole which. Here are the investigation statements.
Rahul said: Ram stole the Dog.
Mithun said: Ram stole the Cow.
Ram said: They both were lying. I did not steal the Dog or the Cow.
Later on, the police found out the man who stole the goat told a lie. The man who stole the dog told the truth. Can you find out who stole which?
Ram stole the Cow
Rahul stole the Goat
Mithun stole the Dog
The man who stole the dog told the truth. All we need to do is to find out who was that.
If Rahul had stolen the dog he would not said: Ram stole the dog. He should said: I stole the dog or Ram did not steal the dog. If Ram had stolen the dog, he would not said: I did steal the dog.
So Mithun stole the dog. What he said was true: Ram stole the cow. Then Rahul stole the goat and told a lie.