已知f(x)=﹛(x-1)²,(x>0) f(x+1)+1,(x≦0)则f(1)+f(-1)的值为