数列{an}中a1=1,a2=3,a3=2,an+2=an+1 -an,求S2012