设等差数列{an}的前n项和为Sn,若a3=12,S12>0,S13