Directions:- Study the following information carefully to answer the question given below.
A, C, D, I, L, P and M are sitting in a straight line facing North.
(a) P sits fourth to the right of A and C sits second to the left of P. D sits in the middle and is second to the right of M.
(b) I sits at the farthest possible distance from P (five persons sits between I and P).
Which of the following pairs represents the persons sitting at the extreme ends of the line?