设Sn是等差数列前n项和,已知a1=3,a7=11,则S7=