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: The scout ship re-emerged from the hole - a brilliant speck emerging from a sphere of velvety blackness. 
Question: How many times did the scout ship re-emerge from the hole?

Output: Yes.


Input: Consider Input: Sentence: Grants of tax-free land over the years had been made to Buddhist temples and members of the court aristocracy. 
Question: Are the grants still available to court aristocracy?

Output: No.


Input: Consider Input: Sentence: The Portuguese Crown, delighted with its first important discovery, immediately embarked on a program of colonization. 
Question: What year did the Portuguese first attempt colonization of the new territory?


Output: Yes.


