Solutions
1) Either two or three people live between E and F.
2) E lives one of the floors above F.
Here, we have two possible cases i.e. Case 1 and Case 2:

3) P lives two floors below F.
4) The number of people live between E and P is same as the number of people live between P and W.
5) Y lives just above W.

6) Two people live between Y and A.
7) Not more than one people live between A and P.

8) The number of people live between E and F is same as the number of people live above E.
9) Two people live between W and K who lives at the bottom most floor.
10) More than sixteen people live in the building.
Here, Case 1 gets eliminated and we have the final arrangement:

Clearly, eight people live between F and the one who lives on third floor.