If the equations x2+ax+b=0 and x2+bx+a=0 have exactly one common root, then the numerical value of a+b is