If the given polynomial f(x)=x4+ax3−5x2+7x−6, is divided by x−3 and leaves remainder as −3 then the value of a is