数列an中,若Sn=-3an+2n,求an