Eight persons A, B, C, D, E, F, G and H live in a building that consists of four 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 in flat P of even numbered floor.
| Case 1 | | Case 2 | |
Floor 4 | B | | | |
Floor 3 | | | | |
Floor 2 | | | B | |
Floor 1 | | | | |
| Flat P | Flat Q | Flat P | Flat Q |
Only one floor is between B and F.
F lives immediate west of E.
| Case 1 | | Case 2 | |
Floor 4 | B | | F | E |
Floor 3 | | | | |
Floor 2 | F | E | B | |
Floor 1 | | | | |
| Flat P | Flat Q | Flat P | Flat Q |
G lives immediately above E in the same flat.
Thus, Case 2 gets cancelled.
| Case 1 | |
Floor 4 | B | |
Floor 3 | | G |
Floor 2 | F | E |
Floor 1 | | |
| Flat P | Flat Q |
A and C live on the same floor.
A does not lives in the same flat as G.
Floor 4 | B | |
Floor 3 | | G |
Floor 2 | F | E |
Floor 1 | A | C |
| Flat P | Flat Q |
H does not lives in flat Q.
Floor 4 | B | D |
Floor 3 | H | G |
Floor 2 | F | E |
Floor 1 | A | C |
| Flat P | Flat Q |
This is the final arrangement.
I. H lives immediately above F.
II. A lives on the bottommost floor.
These statements are true.