A question that is free of any grammatical or logcal errors, should be labeled 'yes', otherwise it should be indicated as 'no'. A question is grammatically correct if all its entities i.e. nouns, verbs, adjectives, prepositions, pronouns, adverbs are at appropriate position. A question is logically correct if the semantic makes sense.

Input: Consider Input: Sentence: In a matter of 48 hours, Alexander II planned to release his plan for the duma to the Russian people. 
Question: What did Alexander II do before releasing his plan?

Output: Yes.


Input: Consider Input: Sentence: The two become close friends but do not reveal the secrets . 
Question: How long did it take them to become friends?

Output: Yes.


Input: Consider Input: Sentence: He them imprisons the royal family in his prison . 
Question: Were the royal family members ever sent back to prison?


Output: No.


