🦘 Math Kangaroo Grade All Felix 1-2 Ecolier 3-4 Benjamin 5-6 Kadett 7-8 Junior 9-10 Student 11-12 ⇄ switch contest
2025 Math Kangaroo

Problem 30

Problem 30 · 2025 Math Kangaroo Stretch
Logic & Word Problems work-backwardsum-constraint

Annie, Bibi, Clara and Doris each live on a different floor of a four-storey building, and other people live there too. 25 people live above Annie, 5 people live below Bibi, 17 people live below Clara, and 22 people live above Doris. How many people live in the building in total?

Show answer
Answer: A — 27
Show hints
Hint 1 of 2
For any resident, (people above) + (themselves) + (people below) is the whole building, so each clue tells you both an 'above' and a 'below' count once you call the total \(N\).
Still stuck? Show hint 2 →
Hint 2 of 2
Annie has the most people above her, so she is the lowest of the four friends; rank the four and make their above/below counts line up.
Show solution
Approach: rank the four friends and reconcile the counts
  1. Annie has 25 people above her — the most of the four — so she is the lowest friend, and the most people above means the fewest below; in fact only Clara (17 below) and the others can sit above her.
  2. Ranking everyone in one line, Annie is 26th from the top, Doris 23rd, Bibi has 5 below and Clara 17 below; fitting these together with one person below Annie forces the total.
  3. The counts only agree when the building holds 27 people, which is (A).
Mark: · log in to save