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.

-----Constraints-----
 - A and B are integers.
 - 1 ≤ A, B ≤ 9

-----Input-----
Input is given from Standard Input in the following format:
A B

-----Output-----
If A + B is 10 or greater, print the string error (case-sensitive); otherwise, print the value of A + B.

-----Sample Input-----
6 3

-----Sample Output-----
9


Difficulty: introductory

Starter code:

Solutions:
# A - Restricted
# https://atcoder.jp/contests/abc063/tasks/abc063_a

A, B = list(map(int, input().split()))

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


l = input().split()

ans = int(l[0]) + int(l[1])

if 10 <= ans:
   print('error')
else:
   print(ans)

a, b = map(int, input().split())
if a+b >= 10:
  print("error")
else:
  print(a+b)

a,b=map(int,input().split())
if (a+b)<=9:
    print(a+b)
else:
    print("error")

a,b = map(int,input().split())
print(a+b if a+b < 10 else 'error')

def iroha():
    a, b = list(map(int, input().split()))
    
    ans = a+b

    print((ans if ans < 10 else "error"))



def __starting_point():
    iroha()


__starting_point()

a, b= map(int, input().split())

if a+b<10:
  print(a+b)
else:
  print('error')

# 063a

A, B = list(map(int, input().split()))

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


A, B = map(int, input().split())
if A + B < 10:
    print(A + B)
else:
    print('error')

a,b=map(int,input().split())
if a+b>=10:
  print("error")
else:
  print(a+b)

a, b=map(int, input().split())
if a+b<10:
    print(a+b)
else:
    print("error")

a, b = map(int, input().split())

result = a + b
if result >= 10:
    print('error')
else:
    print(result)

a, b = map(int, input().split())
answer = a + b
print('error' if 10 <= answer else answer)

A, B = map(int, input().split())

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

# 二つの整数A,Bの和 10以上ならerrorと出力

A, B = map(int, input().split())

if A + B < 10:
    print(A + B)
else:
    print('error')

A, B = map(int,input().split())

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

a,b = map(int,input().split())
print(a + b if a + b < 10 else "error")

a,b = map(int,input().split())

print('error' if a+b >= 10 else a+b)

a,b= map(int,input().split())
if a+b >= 10:
  print("error")
else:
  print(a+b)

A,B=list(map(int,input().split()));print((A+B if A+B<10 else "error"))


a, b = map(int, input().split())
ans = a + b
if ans >= 10: print('error')
else: print(ans)

a, b=map(int, input().split())
if a+b<10:
  print(a+b)
else:
  print('error')

# 入力                                             
A, B = map(int, input().split())                 
                                                 
# 出力                                             
sum = A + B                                      
                                                 
if sum >= 10:                                    
    print('error')                               
else:                                            
    print(sum)                                   

a, b = list(map(int, input().split()))
if a + b >= 10:
    print("error")
else:
    print((a + b))


a,b = map(int,input().split())
if a+b >= 10:
    print("error")
else:
    print(a+b)

A, B = map(int,input().split())

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

# 入力
A, B = map(int, input().split())

# A+Bが10以上ならerror、それ以外なら結果を出力
if A + B >= 10:
    print('error')
else:
    print(A + B)

a,b = map(int,input().split())
if a + b < 10:
    print(a + b)
else:
    print('error')

S_list = list(map(int,input().split()))

add = S_list[0] + S_list[1]
if  add >= 10:
    result = "error"
else:
    result = add 
print(result)


a,b=map(int,input().split())
print(a+b if a+b < 10 else "error")

#!/usr/bin/env python3

def main():
    a, b = list(map(int, input().split()))
    print((a + b if a + b < 10 else 'error'))


def __starting_point():
    main()

__starting_point()

A,B = map(int,input().split())

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

a,b = map(int, input().split())

if a + b >= 10:
  print("error")
else:
  print(a + b)

# 063_a
A,B=map(int,input().split())
if 1<=A and B<=9:
    if A+B>=10:
        print('error')
    else:
        print(A+B)

A, B = list(map(int,input().split()))
if A+B < 10:
    print(A+B)
else:
    print('error')

A,B = map(int,input().split())
print(A+B if A+B < 10 else "error")

A,B=map(int,input().split())
if A+B>=10 :
  print("error")
else :
  print(A+B)

A, B = list(map(int, input().split()))

if A + B < 10:
    print((A + B))
else:
    print('error')


a, b = map(int, input().split())
x = a + b
if x < 10:
  print(x)
else:
  print('error')

import sys

input = sys.stdin.readline

a, b= list(map(int, input().split()))

ab = a+b
if ab >= 10:
    print("error")
else:
    print(ab)


a, b = map(int, input().split())

if a+b >= 10:
    print("error")
else:
    print(a+b)

a,b=map(int,input().split())
print(a+b if a+b <10 else "error")

a,b = map(int,input().split())
if a + b >= 10:
    print('error')
else:
    print(a+b)

a,b = map(int,input().split())
if a + b >= 10:
    print('error')
else:
    print(a+b)

#   AtCoder abc063 a
#   ストレッチ課題

#   入力
a, b = list(map(int, input().split()))

#   処理
if (a + b) >= 10:
    print("error")
else:
    print((a + b))


import sys, math
from itertools import combinations as c, product as p
from collections import deque
sys.setrecursionlimit(10**9)
INF = float('inf')
MOD = 10**9 + 7
#MOD = 998244353


def si(): return input()
def ii(): return int(input())
def fi(): return float(input())
def lstr(): return input().split()
def lint(): return list(map(int, input().split()))
def lintdec(): return list(map(lambda x:int(x) - 1, input().split()))
def lnstr(n): return [input() for _ in range(n)]
def lnint(n): return [int(input()) for _ in range(n)]
def lint_list(n): return [lint() for _ in range(n)]



############################################################
A, B = lint()
print(A + B if A + B < 10 else 'error')

a,b=map(int, input().split()) 
print("error" if a+b>=10 else a+b)

a,b = [int(x) for x in input().split()]
if a + b >= 10:
  print("error")
else:
  print(a+b)

x=sum(map(int,input().split()))
if x>=10:
    print("error")
else:
    print(x)


A, B = map(int, input().split())

if A + B < 10:
    print(A + B)
else:
    print('error')

A, B = map(int, input().split())

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

a, b = map(int, input().split())
print("error" if a + b >= 10 else a + b)

A, B = map(int, input().split())

print(A + B if A + B < 10 else "error")

n, k = map(int, input().split())
if n + k < 10:
    print(n + k)
else:
    print("error")

x,y=list(map(int,input().split()))
if x+y<10:
    print((x+y))
else:
    print('error')


A,B = map(int,input().split())
a = A+B
if a<10:
    print(a)
else:
    print("error")

A, B = map(int, input().split())
if A+B>=10:
  print("error")
else:
  print(A+B)

# 二つの整数 A, Bが入力されます。
# A + B の値を出力してください。
# ただし、
# A + B が 10 以上の場合は、
# 代わりに error と出力してください。

# 制約
# A, B は整数である。
# 1 ≦ A, B ≦ 9

# 標準入力から A, B の値を取得する
a, b = list(map(int, input().split()))

# 計算結果を出力する
result = "error"

if a + b < 10:
    result = a + b

print(result)


a, b = map(int, input().split())
print(a+b if a+b < 10 else "error")

int_1, int_2 = map(int, input().split())
answer = int_1 + int_2

if 10 <= answer:
    print('error')
else:
    print(answer)

a,b = list(map(int,input().split()))

print((a+b if a+b < 10 else 'error'))


a,b = list(map(int,input().split()))
print(("error" if a+b>=10 else a+b))


a, b = map(int,input().split())
print('error') if a + b >= 10 else print(a+b)

C=sum(map(int,input().split()))
if C>=10:
  print("error")
else:
  print(C)

a,b=map(int,input().split())
if a+b>=10:
  print("error")
else:
  print(a+b)

a,b = map(int,input().split())
if 10<=a+b:
  print('error')
else:
  print(a+b)

a,b = map(int,input().split())
print(a+b if a+b < 10 else "error")

a, b = map(int, input().split())

print('error' if a + b >= 10 else a + b)

a, b = map(int, input().split())

if a + b >= 10:
    print('error')
else:
    print(a + b)

a, b = map(int, input().split())

if a + b >= 10:
    print('error')
else:
    print(a + b)

A, B = map(int, input().split())
C = A + B
print(C if C < 10 else "error")

LI = lambda: list(map(int, input().split()))

A, B = LI()


def main():
    ans = A + B;
    if ans >= 10:
        ans = "error"
    print(ans)


def __starting_point():
    main()

__starting_point()

A, B = map(int, input().split())
print(A+B if A+B < 10 else 'error')

# s=int(input())
# b=input()
# c=[]
# for i in range(b):
#     c.append(a[i])
a = list(map(int,input().split()))
#b = list(map(int,input().split()))

if (a[0]+a[1])<10:
    print(a[0]+a[1])
else:
    print("error")

'''
abc063 A - Restricted
https://atcoder.jp/contests/abc063/tasks/abc063_a
'''

a, b = list(map(int, input().split()))
ans = a+b if a+b < 10 else 'error'
print(ans)


A,B=list(map(int,input().split()))
if A+B>=10:
  print("error")
else:
  print((A+B))


a,b=map(int, input().split())

print(a+b if a+b<10 else 'error')

a, b = map(int, input().split())
print(a+b if a+b<10 else 'error')

# A - Restricted

# A+Bの値を出力する
# A+Bが10以上の場合はerrorと出力する


A,B = list(map(int,input().split()))

answer = A + B

if answer < 10:
    print(answer)
else:
    print('error')


# 各数値の取得
A,B = map(int,input().split())

# 合計が10以上か判定後メッセージを出力
total = A + B
if total < 10 :
    print(total)
else:
    print("error")

a,b=map(int,input().split())

if a+b>=10:
  print('error')
  
else:
  print(a+b)

a,b=map(int,input().split())
if a+b>9:
  print('error')
else:
  print(a+b)

# 入力
A, B =map(int,input().split())

# 処理
answer = A + B
if answer < 10:
    print(answer)
else:
    print('error')

A, B = map(int, input().split())
print(A+B if A+B < 10 else 'error')

a,b = map(int,input().split())
print(a+b if a+b < 10 else "error")

#n = int(input())
a, b = list(map(int, input().split()))
#l = list(map(int,input().split()))
#l = [list(map(int,input().split())) for i in range(n)]
ans = a+b
if a+b >= 10:
    ans = 'error'
print(ans)


a,b=map(int,input().split())
if a+b>=10:
  print("error")
else:
  print(a+b)

a, b = map(int, input().split())

if a + b >= 10:
    print('error')
else:
    print(a + b)

# 二つの整数 A , B が入力されます。 A + B の値を出力してください。
# ただし、 A + B が 10 以上の場合は、代わりに error と出力してください。

A,B = map(int,input().split())

if A + B <= 9:
    print(A + B)

else:
    print('error')

a,b=map(int,input().split())
if a+b<10:print(a+b)
else:print('error')

A, B = map(int, input().split())
 
if A + B < 10: print(A+B)
else: print('error')

# coding = SJIS

a, b = map(int, input().split())

if a + b >= 10:
    print("error")
else:
    print(a + b)

a,b = map(int,input().split())
#lis = list(map(int,input().split()))
print("error" if a+b >= 10 else a+b)

a,b=map(int,input().split())
if a+b>=10:
    print("error")
else:
    print(a+b)

a, b = map(int, input().split())
s = a + b
if s >= 10: print('error')
else: print(s)

a,b=list(map(int,input().split()))
if (a+b)<10:
    print((a+b))
else:
    print("error")



A, B = map(int, input().split())

x = A + B

if x >= 10:
    print("error")
else:
    print(x)

a, b = list(map(int, input().split()))

if 10 <= a + b:
    print("error")
else:
    print((a + b))