Problem:


Score : 100 points

Problem Statement

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 1

6 3

Sample Output 1

9

Sample Input 2

6 4

Sample Output 2

error



Sample input:
6 3


Sample output:
9

Submission status: Accepted

Solution code:
A, B = map(int, input().split(' '))
sum = A + B

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

Submission status: Accepted

Solution code:
x,y = map(int,input().split())

if x + y >= 10:
  print('error')
else:
  print(x + y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ilist =  input().split(" ")
ans = int(ilist[0]) + int(ilist[1] )
if ans >= 10:
        print("error")
else :
        print(ans)

Submission status: Accepted

Solution code:
def main():
    A, B = [int(ele) for ele in input().split()]
    print(A+B if A+B < 10 else "error")


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
A,B=map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = [ int(v) for v in input().split() ]

ans = a + b

if ans >= 10:
  ans = "error"

print(ans)

Submission status: Accepted

Solution code:
A,B = map(int, input().split())
if A+B>=10:
    print("error")
elif A+B<=10:
    print(A+B)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

answer=a+b

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

Submission status: Accepted

Solution code:
a, b = map(int,input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = map(int, input().split())
sum = A + B
if sum >= 10:
	print('error')
else:
	print(sum)

Submission status: Accepted

Solution code:
a, b = map(int, raw_input().split())
x = a + b
if x >= 10:
    print "error"
else:
    print x

Submission status: Accepted

Solution code:
ans = sum(list(map(int, input().split())))

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
a=int(eval(input().replace(' ','+')))
print(a if a<10 else 'error')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
b, c = map(int, input().split())
if(b+c>9):
  print("error")
else:
  print(b+c)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = map(int, input().split())

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=sum(map(int,input().split()))
if n>9:
    print("error")
else:
    print(n)

Submission status: Accepted

Solution code:
#N = int(input())
#A = [int(x) for x in input().split()]
#a, b, c = map(int, input().split())
#name1 = str(input())
#alph = {"A": 1, "B": 2, "C": 3, "D": 4, "E": 5}
a, b = map(int, input().split())
if a+b>=10:
    print("error")
else:
    print(a+b)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B=map(int,input().split());print([A+B,"error"][A+B>9])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x,y=map(int,input().split());print((x+y>9)*"error"or x+y)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# encoding:utf-8
import copy
import random
import bisect #bisect_left　これで二部探索の大小検索が行える
import fractions #最小公倍数などはこっち
import math

mod = 10**9+7


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


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

Submission status: Accepted

Solution code:
a = sum(list(map(int, input().split())))
if a >= 10:
	print('error')
else:
	print(a)

Submission status: Accepted

Solution code:
A, B = map(int, input().split())

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

Submission status: Accepted

Solution code:
A, B = map(int, input().split())

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

Submission status: Accepted

Solution code:

def read_input():
    a, b = map(int, input().split())

    return a, b


def submit():
    a, b = read_input()

    c = a + b

    if c >= 10:
        c = 'error'

    print(c)


if __name__ == '__main__':
    submit()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys, os
from queue import PriorityQueue

f = lambda:list(map(int,input().split()))
if 'local' in os.environ :
    sys.stdin = open('./input.txt', 'r')

def solve():
    a,b = f()
    if a+b>=10:
        print('error')
    else:
        print(a+b)

solve()

Submission status: Accepted

Solution code:
A, B = map(int, input().split())

print(["error", A + B] [A + B < 10])

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

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

Submission status: Accepted

Solution code:
A, B = map(int, input().split())

ans = A + B
if ans >= 10:
    ans = 'error'

print(ans)

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print([a+b,"error"][a+b>9])

Submission status: Accepted

Solution code:
a = [int(i) for i in input().split()] 

if sum(a) > 9:
  print("error")
else:
  print(sum(a))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# ABC063A - Restricted
a, b = list(map(int, input().rstrip().split()))
print(a + b if a + b < 10 else "error")

Submission status: Accepted

Solution code:
import functools

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def inpm(line):
    return [inp() for _ in range(line)]


def inpfm(line):
    return [inpf() for _ in range(line)]


def inpsm(line):
    return [inps() for _ in range(line)]


def inlm(line):
    return [inl() for _ in range(line)]


def inlfm(line):
    return [inlf() for _ in range(line)]


def inlsm(line):
    return [inls() for _ in range(line)]


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper


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

Submission status: Accepted

Solution code:
a, b = [int(n) for n in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(int, input().split())

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

Submission status: Accepted

Solution code:
i = list(map(int, input().split()))
if (i[0]+i[1] >= 10):
    print('error')
else:
    print(str(i[0]+i[1]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b = map(int, input().split())

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

Submission status: Accepted

Solution code:
from functools import reduce
import math

def main():
    # 文字列の2進数を数値にする
    # '101' → '5'
    # 文字列の頭に'0b'をつけてint()にわたす
    # binary = int('0b'+'101',0)

    # 2進数で立っているbitを数える
    # 101(0x5) → 2
    # cnt_bit = bin(5).count('1')
    
    # N! を求める
    # f = math.factorial(N)
    
    # 切り捨て
    # 4 // 3
    # 切り上げ
    #-(-4 // 3)
    
    # 初期値用:十分大きい数(100億)
    INF = float("inf")
    
    # 1文字のみを読み込み
    # 入力:2
    # a = input().rstrip()
    # 変数:a='2'
    
    # スペース区切りで標準入力を配列として読み込み
    # 入力:2 4 5 7
    # a, b, c, d = (int(_) for _ in input().split())  
    # 変数:a=2 b=4 c=5 d =7
    
    # 1文字ずつ標準入力を配列として読み込み
    # 入力:2 4 5 7
    # a = list(int(_) for _ in input().split())
    # 変数:a = [2, 4, 5, 7]    

    # 1文字ずつ標準入力を配列として読み込み
    # 入力:2457
    # a = list(int(_) for _ in input())
    # 変数:a = [2, 4, 5, 7]    
    a, b = (int(_) for _ in input().split())
    if a+b>=10:
        print('error')
    else:
        print(a+b)
    
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
ans='error'
if a+b<=9:
    ans=a+b
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
p, q = map(int,input().split())
print(p+q if p+q < 10 else 'error')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
c,d = input().split()
a = int(c)
b = int(d)
if a+b>=10:
  print('error')
else:
    print(a+b)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x, y =map(int, input().split())

if x+y < 10:
  print(x+y)
else:
  print('error')

Submission status: Accepted

Solution code:
a,b=(int(i) for i in input().split())
if a+b>=10:
    print('error')
else:
    print(a+b)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split());print(['error',a+b][a+b<10])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = map(int, input().split())

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

Submission status: Accepted

Solution code:
[A,B] = list(map(int, input().split()))
if A+B < 10:
  print(A+B)
else:
  print("error")

Submission status: Accepted

Solution code:
import sys

def main():
    input = sys.stdin.readline
    A, B = map(int, input().split())

    if A+B >= 10:
        return 'error'
    else:
        return A+B


if __name__ == '__main__':
    print(main())

Submission status: Accepted

Solution code:
x = sum(map(int, input().split()))
print(x if x < 10 else 'error')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = map(int, input().split())

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print([a+b,'error'][a+b>9])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a,b = map(int,input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!usr/bin/env python3
from collections import defaultdict
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS():return list(map(list, sys.stdin.readline().split()))
def S(): return list(sys.stdin.readline())[:-1]
def IR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = I()
    return l
def LIR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = LI()
    return l
def SR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = S()
    return l
def LSR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = SR()
    return l
mod = 1000000007

#A
a,b = LI()
if a+b >= 10:
    print("error")
else:
    print(a+b)
#B

#C
"""
n = I()
s = IR(n)
su = sum(s)
dp = [[0 for i in range(su+1)] for j in range(n)]
dp[0][s[0]] = 1
for i in range(n):
    dp[i][0] = 1
for i in range(1,n):
    for j in range(su+1)[::-1]:
        if s[i]+j <= su:
            dp[i][s[i]+j] = max(dp[i][s[i]+j],dp[i-1][j])
        dp[i][j] = max(dp[i][j],dp[i-1][j])
for i in range(su+1)[::-1]:
    if dp[n-1][i] == 1 and i%10 != 0:
        break
print(i)
"""

#D
"""
n,a,b = LI()
h = IR(n)
l = 0
r = math.ceil(max(h)/b)
while r-l > 1:
    m = (l+r)//2
    k = 0
    for i in range(n):
        k += max(0,math.ceil((h[i]-b*m)/(a-b)))
        if k > m:break
    if k > m:
        l = m
    else:
        r = m
print(r)
"""
#E

#F

#G

#H

#I

#J

#K

#L

#M

#N

#O

#P

#Q

#R

#S

#T

Submission status: Accepted

Solution code:
ab = list(map(int, input().split()))

if sum(ab) >= 1 and sum(ab) <= 9:
    print(sum(ab))
else:
    print('error')

Submission status: Accepted

Solution code:
x,y=map(int,input().split(' '))
z=x+y

if 9<z:
    print('error')
else:
    print(z)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def restricted(A: int, B: int)->str:
    if A + B < 10:
        return str(A+B)
    return 'error'


if __name__ == "__main__":
    A, B = map(int, input().split())
    ans = restricted(A, B)
    print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=sum(map(int,input().split()))
print('error' if s>=10 else s)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = [int(x) for x in input().split()]
if(A+B>=10):
  print('error')
else:
  print(A+B)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
a, b = map(int, input().split())
print(a+b if a+b < 10 else "error")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = (int(i) for i in input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def func(a, b):
    result = 'error' if a + b >= 10 else a + b
    return result


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

print(func(A, B))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = [int(x) for x in input().split()]
print(A+B if A+B <10 else "error")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
if a+b<=9:
  print(a+b)
elif a+b>= 10:
  print("error")

Submission status: Accepted

Solution code:
A,B = map(int,input().split())
if A+B<=9:
  print(A+B)
else:
  print("error")

Submission status: Accepted

Solution code:
A, B = map(int, input().split())
s = A+B

if s<10:
  print(s)
else:
  print("error")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N, X = list(map(int, input().split()))

if (N+X>9):
    print("error")
else:
    print(N+X)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin
a, b = [int(x) for x in stdin.readline().rstrip().split()]
if a+b >=10:
  print('error')
else:
  print(a+b)

Submission status: Accepted

Solution code:
a,b=[int(i) for i in input().split()]
print(a+b if a+b<10 else "error")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = map(int,input().split())

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

Submission status: Accepted

Solution code:
# coding: utf-8
A, B = map(int, input().split())
print(['error', A + B][A + B < 10])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# ABC 063 A - Restricted
a,b =map(int,input().split())
if a+b >= 10:
    print("error")
else:
    print(a+b)

Submission status: Accepted

Solution code:
a=sum(map(int,input().split()))
print(a if a<10 else 'error')

Submission status: Accepted

Solution code:
n = sum(map(int, input().split()))
if n < 10:
    print(n)
else:
    print('error')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = [ int(x) for x in input().split() ]

ans = "error" if A + B >= 10 else A + B

print(ans)
print()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

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

Submission status: Accepted

Solution code:
A,B=map(int,raw_input().split())
print["error",A+B][A+B<10]

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = map(int,input().split())
s = A+B
if s >= 10:
    print('error')
else:
    print(s)

Submission status: Accepted

Solution code:
ab = list(map(int, input().split()))
ans = ab[0] +ab[1]

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

Submission status: Accepted

Solution code:
a=sum(map(int,input().split()));print([a,'error'][a>=10])

Submission status: Accepted

Solution code:
A=list(map(int,input().split()))
if sum(A)<10:
  print(sum(A))
else:
  print("error")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
v=sum(map(ord,input()))&31;print('error'*(9<v)or v)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x=sum(map(int,input()[::2]))
print(x if x<10 else "error")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
""" AtCoder """

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

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

Submission status: Accepted

Solution code:
n, m = map(int, input().split())

ans = n + m
if ans >= 10:
  print("error")
else:
  print(ans)

Submission status: Accepted

Solution code:
# ABC 063
def getIntList(): return [int(x) for x in input().split()]

x,y = getIntList()
sm = x + y
if sm>=10: print('error')
else: print(sm)

Submission status: Accepted

Solution code:
s = sum([int(x) for x in input().split()])
print(s if s < 10 else 'error')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b = (int(i) for i in input().split())
if a+b>=10:
  print('error')
else:
  print(a+b)

Submission status: Accepted

Solution code:
A,B = [int(i) for i in input().split()]

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

Submission status: Accepted

Solution code:
A, B = [int(_) for _ in input().split()]

x = A + B

if x < 10:
    print(x)
else:
    print("error")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
int_a, int_b = map(int, input().split())

if int_a + int_b >= 10:
    print("error")
else:
    print(int_a + int_b)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x,y = map(int,input().split())
if x+y >= 10:
  print("error")
else:
  print(x+y)

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

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

Submission status: Accepted

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


abc063_a()

Submission status: Accepted

Solution code:
A, B = (int(x) for x in input().split())
print(A + B if A + B < 10 else 'error')

Submission status: Accepted

Solution code:
#A Restricted
y,z = map(int,input().split())
if y+z > 9:
    print("error")
else:
    print(y+z)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = map(int,input().split())

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
A,B=map(int,input().split())
print(["error",A+B][A+B<10])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = [int(i) for i in input().split()]
if a + b < 10:
    print(a + b)
else:
    print("error")

Submission status: Accepted

Solution code:
n=sum(map(int,input().split()))
print('error'if n>9else n)

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

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