Problem #PRU-107704

Problems Algebra and arithmetic Arithmetics. Mental maths Set theory and logic Set theory Inclusion-exclusion principle

Problem

In a class there are 50 children. Some of the children know all the letters except “h” and they miss this letter out when writing. The rest know all the letters except “c” which they also miss out. One day the teacher asked 10 of the pupils to write the word “cat”, 18 other pupils to write “hat” and the rest to write the word “chat”. The words “cat” and “hat” each ended up being written 15 times. How many of the pupils wrote their word correctly?