Ten persons- A, B, C, D, E, F, G, H, I and J live in a building that consists of five floors. The bottommost floor is numbered as 1, the floor above it as 2, and so on. Each floor has two flats - Flat P and Flat Q. Flat P is to the west of Flat Q on each floor. They were born in non-consecutive years starting from 1960 to 2010, but not necessarily in the same order. No two persons were born in the same year. Their present age is considered as of the year 2023.
The difference between the birth year of each consecutive persons is three years.
Three persons were born between G and I.
At most two persons are younger to G.
| | Case 1 | | | Case 2 | Case 3 |
Years | Present age | Person | | | Person | Person |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | I |
| | | | | I | |
| | I | | | | |
| | | | | | |
| | | | | | G |
| | | | | G | |
| | G | | | | |
Four persons were born between F and C.
As many persons were born before F as after I.
Thus, Case 1 gets cancelled.
| | Case 2 | Case 3 |
Years | Present age | Person | Person |
| | C | |
| | | C |
| | | |
| | | I |
| | I | |
| | F | |
| | | F |
| | | G |
| | G | |
| | | |
Only one person were born between C and E.
Thus, Case 3 gets cancelled.
| | Case 2 |
Years | Present age | Person |
| | C |
| | |
| | E |
| | |
| | I |
| | F |
| | |
| | |
| | G |
| | |
A was born immediately after J.
Years | Present age | Person |
| | C |
| | |
| | E |
| | |
| | I |
| | F |
| | J |
| | A |
| | G |
| | |
B was born before D and after H.
B was born in year 1985.
The difference between the birth year of each consecutive persons is three years.
Years | Present age | Person |
1976 | 47 | C |
1979 | 44 | H |
1982 | 41 | E |
1985 | 38 | B |
1988 | 35 | I |
1991 | 32 | F |
1994 | 29 | J |
1997 | 26 | A |
2000 | 23 | G |
2003 | 20 | D |
The eldest person lives on an even numbered floor.
Only one floor is between C and F.
Both C and F live in the same flat.
Eldest person = C(47)
| Case 1 | | Case 2 | | Case 3 | | Case 4 | |
Floor 5 | | | | | | | | |
Floor 4 | C(47) | | | C(47) | F(32) | | | F(32) |
Floor 3 | | | | | | | | |
Floor 2 | F(32) | | | F(32) | C(47) | | | C(47) |
Floor 1 | | | | | | | | |
| Flat P | Flat Q | Flat P | Flat Q | Flat P | Flat Q | Flat P | Flat Q |
Two floors are between F and the one whose age multiple of 7 and both of them lives in the same flat.
Multiple of 7 = 35
Age of I = 35
I lives to the west of B on the same floor.
Thus, Case 2 and Case 4 get cancelled.
| Case 1 | | Case 3 | |
Floor 5 | I(35) | B(38) | | |
Floor 4 | C(47) | | F(32) | |
Floor 3 | | | | |
Floor 2 | F(32) | | C(47) | |
Floor 1 | | | I(35) | B(38) |
| Flat P | Flat Q | Flat P | Flat Q |
The youngest person lives with H on the same floor.
D does not lives in the same flat as B.
Youngest person = D
H lives immediately below A.
| Case 1 | |
Floor 5 | I(35) | B(38) |
Floor 4 | C(47) | A(26) |
Floor 3 | D(20) | H(44) |
Floor 2 | F(32) | |
Floor 1 | | |
| Flat P | Flat Q |
| Case 1a | | Case 3 | |
Floor 5 | I(35) | B(38) | | |
Floor 4 | C(47) | | F(32) | A(26) |
Floor 3 | | | D(20) | H(44) |
Floor 2 | F(32) | A(26) | C(47) | |
Floor 1 | D(20) | H(44) | I(35) | B(38) |
| Flat P | Flat Q | Flat P | Flat Q |
The person whose age is 29 years lives in flat Q.
G lives one of the floor above J but not immediately.
G and J does not live on the same flat.
Thus, Case 1 and Case 1a get cancelled.
| Case 3 | |
Floor 5 | G(23) | |
Floor 4 | F(32) | A(26) |
Floor 3 | D(20) | H(44) |
Floor 2 | C(47) | J(29) |
Floor 1 | I(35) | B(38) |
| Flat P | Flat Q |
Now, only E is remaining.
Floor 5 | G(23) | E(41) |
Floor 4 | F(32) | A(26) |
Floor 3 | D(20) | H(44) |
Floor 2 | C(47) | J(29) |
Floor 1 | I(35) | B(38) |
| Flat P | Flat Q |
This is the final arrangement.
I, whose age is 35 years, live in flat P on floor 1.