问两道数列题设Sn是等差数列{an}的前n项和,已知S6=36,Sn=324,S(n-6)=144,则n=?A15 B1