You are given two integers A and B as the input. Output the value of A + B.  However, if A + B is 10 or greater, output `error` instead.
a=max(map(int,input().split()))
print(a if a < 10 else "error")
a=sum(map(int,input().split()))
print(a if a < 10 else "error")