Good girls and bad boys (12)

Logic Level 3

On an island, there is this strange pattern - boys always lie while girls always tell the truth. Now you encounter five children.

•The oldest one says, "The number of girls among us is a prime number."

•The second one says, "The number of girls among us is a composite number."

•The middle one says, "The oldest child is a boy."

•The fourth one says, "The second child is a girl."

•The youngest one says, "We are all girls."

Let 1 denote boys and 0 girls. In order of birth, identify the gender of each child and convert it into a number accordingly. Submit your answer as a string of 5 ones and/or zeroes. For example, if all five are boys, then your answer is 11111.


Problem Loading...

Note Loading...

Set Loading...