Study the given information carefully and answer the questions that follow :
(i) A, B, C, D, E, F and G are sitting on a wall and all of them are facing east.
(ii) C is on the immediate right of D.
(iii) B is at the extreme end and has E as his neighbor.
(iv) G is between E and F.
(v) D is sitting third from the south end.
Which of the following pairs of people are sitting at the extreme ends?
A AB B AE C CB D FB E Cannot be determined