Directions: Read the instructions carefully and answer the question below.
Eight people, A, B, C, D, E, F, G, and H, live on 4 different floors of a building. The building has three wings X, Y, and Z such that wing Y is to the left of wing Z and wing X is to the left of wing Y. At least two people live on each floor of the building and at least two people live in each wing of the building. Also, at least one flat in each wing is vacant. These people like eight different fruits namely, Orange, Coconut, Banana, Apple, Mango, Papaya, Guava, and Grapes but not necessarily in the same order.
A lives in the same wing as D. The person who likes Banana does not live in the Y wing. C lives just a floor above E. H lives on the same floor as the person who likes Banana. F, who likes either Coconut or Mango, does not live in the same wing as H. The person who likes Apple lives two floors above F in X wing. Z wing of the first floor is vacant. B lives just a floor above G but in a different wing. The person who likes Coconut lives on an odd-numbered floor in the same wing as the person who likes Papaya. A does not live on the same floor as B. G likes either Mango or Guava. The person who likes Grapes lives two floors below B in the same wing. G lives two floors above the person who likes Banana and they live in the same wing.