Directions: Read the information carefully and answer the questions given below.
In a seven-storey building, there are seven individuals: A, B, C, D, E, F, and G. They live on floors numbered 1 to 7, with 1 being the bottom floor, 7 being top floor. These seven individuals are all different ages, ranging from 11 to 31 years old.
The persons whose ages are a perfect square number live immediate next to each other. B whose age is 27 years lives on Third floor. D lives immediately below A. Two persons whose ages are consecutive numbers lives on the topmost and lowermost floor. There are total three persons living between the one whose age is the largest perfect square number and E. A lives three floors above the one whose age is a perfect square and his age is 15 years. E lives below the one whose age is three less than the one who lives on the topmost floor. The age of D is the average of the sum of ages of A and the one whose age is the largest perfect square number. More than One person lives between C and G.