In the addition below, all digits have been replaced by letters. Equal letters represent equal digits and different letters represent different digits.
ABCABA
BBDCAA
ABEABB
ABDBAA
------- +
AAFGBDH
What does the complete addition look like in digits?
In a school, 280 students studied chemistry, 254 students studied physics and 280 students studied biology.
97 students studied chemistry as well as physics, 138 students studied physics as well as biology and 152 students studied chemistry as well as biology.