Eight friends having different hobbies as Painting, Gardening, Cooking, Reading, Singing, Pottery, Dancing and Poetry writing are sitting around a circular table, not necessarily in the same order. Some of them are facing outside and some of them are facing towards the center. Each of them has birthday in different year.
Only two people sit between the one who likes Singing and the one who likes Cooking. The friends who likes Gardening and Painting are not neighbors. The one who likes Painting is sitting just right of one who likes Singing. The one who likes Dancing sits second to the right of one who likes Cooking. The person who likes Singing faces outside and he is the oldest guy having birthdays in 1987. Only one person sits in between friends who like Poetry writing and Painting. The one liking Gardening is 8 years older than the one liking Pottery. The one who likes Poetry writing sits third to the left of one who likes Gardening and he is the youngest among all having birthday in 2001. The person who likes Pottery faces towards the direction opposite to the one who likes Dancing, but same to the one who likes Cooking. Person liking Pottery is not a neighbor of either who likes Painting or Dancing. The one who likes Painting was born in 1995 and the one who likes Dancing is 4 years younger than him. Immediate neighbors of one who likes Reading face in the same direction. The one who likes Painting faces towards the center. The one who likes Gardening and the one who likes Cooking face the direction just opposite to the one who likes Reading. The person facing the one who likes Painting was born in 1991. The immediate neighbors of the one who likes Painting have faces opposite to each other and they have the age gap of 6 years.

Solution