In the sequence X0, X1, X2, ..., Xn, each term from X1 to Xk is 3 greater than the previous term, and each term from Xk+1 to Xn is 3 less than the previous term, where n and k are positive integers and k<n. If X0=Xn=0 and if Xk=15, what is the value of n?
(A) 5
(B) 6
(C) 9
(D) 10
(E) 15
(A) 5
(B) 6
(C) 9
(D) 10
(E) 15












