f each term in the sum a1+a2+a3+...+ana1+a2+a3+...+an is either 7 or 77 and the sum equals 350, which of the following could be equal to n?
A. 38
B. 39
C. 40
D. 41
E. 42