求{an}的前n项和Sn.(1) a1=-4,a8=-18,n=8 (2)a1=14.5,d=0.7,an=32