Eight persons A, B, C, D, E, F, G, and H sit around a circular table facing the center. Each of them has a different profession among Pilot, Doctor, Teacher, Engineer, Banker, Artist, Writer, and Singer.
A, who is an Engineer, sits third to the left of B, who is a Pilot. C is the Doctor and sits second to the right of A. D is the Artist and is neither an immediate neighbor of C nor B. E is the Singer and sits second to the left of D. F is the Banker and sits third to the right of E. G is the Writer and does not sit adjacent to A. H is the Teacher.