Each of A, B, C, D, P, Q and R has an exam on a different day of a week starting from Monday and ending on Sunday of the same week. Only two people have exam before R. Only one person has exam after A. Only three people have exam between R and Q. Only one person has exam between C and D. P has exam immediately before C. Who among the following has exam on Friday?
1
A
2
B
3
P
4
Q