five friends A,B,C,D and E with different occupational backgrounds (teacher,doctor, accountant, business man, engineer) went for a conference.The doctor sat next to B. The engineer sat in between B and C. Neither A nor the accountant sat at any of the extreme ends. If D does not sit next to B, then which ofthe following is definitely sitting at one of the extreme ends?