Let X denotes the number of times head occur in n tosses of a fair coin. If P(X = 4), P(X = 5) and P(X = 6) are in AP, then the value of n is
A. 7, 14
B. 10, 14
C. 12, 7
D. 14, 12