Six persons - A, B, C, D, E and F live in a building that consists of three floors.
The bottommost floor is numbered as 1, the floor above it as 2, and the topmost floor is numbered as 3. Each floor has two flats- flat P and flat Q. Flat P is to the west of flat Q on each floor. Only one person lives in each flat.
B lives on floor 1.
| Case 1 | | Case 2 | |
Floor 3 | | | | |
Floor 2 | | | | |
Floor 1 | B | | | B |
| Flat P | Flat Q | Flat P | Flat Q |
Not more than two persons live below A.
F lives immediately below A in the same flat.
| Case 1 | | Case 2 | |
Floor 3 | | | | |
Floor 2 | | A | A | |
Floor 1 | B | F | F | B |
| Flat P | Flat Q | Flat P | Flat Q |
D lives on an even-numbered floor.
Neither A nor C lives in the same flat as D.
| Case 1 | | Case 2 | |
Floor 3 | | C | C | |
Floor 2 | D | A | A | D |
Floor 1 | B | F | F | B |
| Flat P | Flat Q | Flat P | Flat Q |
E lives in flat P.
Therefore, the final arrangement is:
Floor 3 | E | C |
Floor 2 | D | A |
Floor 1 | B | F |
| Flat P | Flat Q |
D, A, B and F live below the floor on which E lives.