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.

Ex Input:
Sentence: In Malaysia, Powell met with Prime Minister Mahathir Mohamad, who has led the country since 1981. 
Question: How often does Powell travel to other countries to meet their leaders?

Ex Output:
Yes.


Ex Input:
Sentence: Britain finally ceded the island to Spain in the year 1802, under the terms of the Treaty of Amiens. 
Question: How long did it take them to write the treaty?

Ex Output:
Yes.


Ex Input:
Sentence: Christianity was introduced into Gaul in the first century a.d. 
Question: How long did it take to introduce Christianity to a typical person?

Ex Output:

Yes.


