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.
print("Problem A begin")
A, B = map(int,input().split())

if A+B>=10:
    print("error")
else:
    print(A+B)

print("Problem A end")
A, B = map(int,input().split())

if A+B>=10:
    print("error")
else:
    print(A+B)