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())
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:
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())
if a+b>=10:
  print('error')
else:
  print(a+b)

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(a+b)
else:
  print('error')

Submission status: Accepted

Solution code:
a,b = list(map(int,input().split()))
print(a+b if a+b <= 9 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())
result = a+b

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

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())
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 = map(int,input().split())
C = A + B
print(C if C < 10 else "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,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 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 = map(int,input().split())
if a+b < 10:
  print(a+b)
else:
  print('error')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
icase=0    
if icase==0:
    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())

c = a + b

if c >= 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("error")
    else:
        print(A+B)
main()

Submission status: Accepted

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

s = a + b

print(s if s < 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:
import sys
sys.setrecursionlimit(300000)

def I(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LMI(): return list(map(int, sys.stdin.readline().split()))
MOD = 10 ** 9 + 7
INF = float('inf')


A, B = MI()
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:
x, y = map(int, input().split())
ans = x+y if x+y < 10 else "error"
print(ans)

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())

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:
n, m = map(int,input().split())

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

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('error' if A+B>=10 else A+B)

Submission status: Accepted

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

Submission status: Accepted

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

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())
ans = min(a+b,10)
if ans == 10:
    print("error")
else:
    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:
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()]

c=a+b

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

Submission status: Accepted

Solution code:
A, B = map(int, input().split())
S=A+B
print(S if S<=9 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 = [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())
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 '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())
r = a + b
print(r if r < 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())
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:
# coding: utf-8
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 >9:
  print("error")
else:
  print(a+b)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/abc063/tasks/abc063_a

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

total = A + B

if total >= 10:
    print('error')

else:
    print(total)

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:
import sys

a, b = map(int, sys.stdin.readline().split())

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

if __name__ ==  '__main__':
    main()

Submission status: Accepted

Solution code:
# ABC 063: A – Restricted
a, b = [int(s) for s 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("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:
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    a = [int(i) for i in input().split()]

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

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:
num = sum(list(map(int,input().split())))
print('error' if num>=10 else num)

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(['error',A+B][A+B<10])

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(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("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(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"error")

Submission status: Accepted

Solution code:
# Author: cr4zjh0bp
# Created: Mon Mar 23 19:34:20 UTC 2020
import sys
 
stdin = sys.stdin
inf = 1 << 60
mod = 1000000007
 
ni      = lambda: int(ns())
nin     = lambda y: [ni() for _ in range(y)]
na      = lambda: list(map(int, stdin.readline().split()))
nan     = lambda y: [na() for _ in range(y)]
nf      = lambda: float(ns())
nfn     = lambda y: [nf() for _ in range(y)]
nfa     = lambda: list(map(float, stdin.readline().split()))
nfan    = lambda y: [nfa() for _ in range(y)]
ns      = lambda: stdin.readline().rstrip()
nsn     = lambda y: [ns() for _ in range(y)]
ncl     = lambda y: [list(ns()) for _ in range(y)]
nas     = lambda: stdin.readline().split()

a, b = na()

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())
t=a+b
if t>=10:
  print('error')
else:
  print(t)

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 math

A,B=list(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())
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<=9 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,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 >= 10:
    print("error")
else:
    print(a + b)

Submission status: Accepted

Solution code:
a,b = [int(x) for x in 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(a+b if a+b<10 else "error")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=map(int,raw_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("error")
else:
  print(a+b)

Submission status: Accepted

Solution code:
#abc063 a 
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:
    print(c)
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:
#!/usr/bin/env python3
import sys


def solve(A: int, B: int):
    print("error" if A + B >= 10 else A + B)


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    A = int(next(tokens))  # type: int
    B = int(next(tokens))  # type: int
    solve(A, B)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
x,y=list(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:
import sys
import os


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    A, B = list(map(int, sys.stdin.readline().split()))
    print(A+B if A+B < 10 else 'error')


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# A - Restricted
a,b=list(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:
#n = int(input())
a,b = map(int,input().split())
#a_L = list(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()))
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())
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())

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:
# import bisect
# from collections import Counter, defaultdict, deque
# import copy
# from heapq import heappush, heappop, heapify
# from fractions import gcd
# import itertools
# from operator import attrgetter, itemgetter
# import math

import sys

# import numpy as np

ipti = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)

def main():
    a, b = list(map(int,ipti().split()))

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

if __name__ == '__main__':
    main()

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 <= 9:
  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 "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:
# coding: utf-8
# Your code here!
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:
import sys
input = sys.stdin.readline

def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    a,b=MI()
    ans=a+b
    if ans<=9:
        print(ans)
    else:
        print("error")

main()

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 = list(map(int, input().split()))
print(a+b) if a+b < 10 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:
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:
x = sum(map(int, input().split()))

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

Submission status: Accepted

Solution code:
import sys

input_methods=['clipboard','file','key']
using_method=0
input_method=input_methods[using_method]

IN=lambda : map(int, input().split())
mod=1000000007

#+++++

def main():
	b , c = IN()
	ee='error'
	ret = b+c if b+c<10 else ee
	print(ret)
	
#+++++
isTest=False

def pa(v):
	if isTest:
		print(v)
		
def input_clipboard():
	import clipboard
	input_text=clipboard.get()
	input_l=input_text.splitlines()
	for l in input_l:
		yield l

if __name__ == "__main__":
	if sys.platform =='ios':
		if input_method==input_methods[0]:
			ic=input_clipboard()
			input = lambda : ic.__next__()
		elif input_method==input_methods[1]:
			sys.stdin=open('inputFile.txt')
		else:
			pass
		isTest=True
	else:
		pass
		#input = sys.stdin.readline
			
	ret = main()
	if ret is not None:
		print(ret)

Submission status: Accepted

Solution code:
#063_A
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')
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 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())

if A+B<10:
    print(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("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:
a = eval(input().replace(" ","+"))
if a < 10:
    print(a)
else:
    print("error")

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

#----------
A,B = list(map(int, input().rstrip().split()))
#----------
sum = A+B

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

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
sys.setrecursionlimit(10**6)
input=sys.stdin.readline
from math import floor,sqrt,factorial,hypot,log #log2ないｙｐ
from heapq import heappop, heappush, heappushpop
from collections import Counter,defaultdict,deque
from itertools import accumulate,permutations,combinations,product,combinations_with_replacement
from bisect import bisect_left,bisect_right
from copy import deepcopy
from fractions import gcd
from random import randint
def ceil(a,b): return (a+b-1)//b
inf=float('inf')
mod = 10**9+7
def pprint(*A): 
    for a in A:     print(*a,sep='\n')
def INT_(n): return int(n)-1
def MI(): return map(int,input().split())
def MF(): return map(float, input().split())
def MI_(): return map(INT_,input().split())
def LI(): return list(MI())
def LI_(): return [int(x) - 1 for x in input().split()]
def LF(): return list(MF())
def LIN(n:int): return [I() for _ in range(n)]
def LLIN(n: int): return [LI() for _ in range(n)]
def LLIN_(n: int): return [LI_() for _ in range(n)]
def LLI(): return [list(map(int, l.split() )) for l in input()]
def I(): return int(input())
def F(): return float(input())
def ST(): return input().replace('\n', '')
def main():
    A,B =MI()
    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())
if (A+B)>=10:
	print("error")
else:
	print(A+B)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
stdin = sys.stdin

ns = lambda: stdin.readline().rstrip()
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))

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

Submission status: Accepted

Solution code:
# 2020/02/22
# AtCoder Beginner Contest 063 - A

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

# Calc
if a + b >= 10 :
    ans = "error"
else:
    ans = a + b

# Output
print(ans)

Submission status: Accepted

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

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:
# -*- coding: utf-8 -*-
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=map(int,input().split())
ab=a+b if a+b<10 else "error"
print(ab)

Submission status: Accepted

Solution code:
def main():
    N, M = (int(i) for i in input().split())
    print(N + M if N + M <= 9 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(_) for _ in input().split()]
s = A + B
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())

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

Submission status: Accepted

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

ans = a+b

if ans < 10:
  print(ans)
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 = list(map(int, input().split()))

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

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 = 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:
#ABC063

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:
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())

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

Submission status: Accepted

Solution code:
# AtCoder Beginner Contest 062
# A - Restricted
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  = eval(input().replace(' ','+'))
print([n,'error'][n>9])

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 =sum(list(map(int,input().split())))
print(a) if a<10 else print('error')

Submission status: Accepted

Solution code:
a = eval(input().replace(" ","+"))
print(a*(a<10) or "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 = list(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())
a = A+B
if a<10:
    print(a)
else:
    print("error")

Submission status: Accepted

Solution code:
# 入力 : 数字2つ
A, B = map(int, input().split())

# 出力　A+Bの値を出力してください。
# ただし、A+Bが 10 以上の場合は、代わりに error と出力してください。

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 aberror(a , b):

    return a + b if a + b < 10 else "error"

def main():
    a , b = map(int , input().split())
    print(aberror(a , b))

if __name__ == '__main__':
    main()

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())
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 "error")

Submission status: Accepted

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

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:
ab=sum(list(map(int,input().split())))
if ab>=10:
  print('error')
else:
  print(ab)

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())
res = a+b
if res >= 10:
    print("error")
else:
    print(res)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-


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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

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