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

Submission status: Accepted

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


l = map(int, raw_input().split())
A = l[0]
B = l[1]

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

Submission status: Accepted

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


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

Submission status: Accepted

Solution code:
x = input().split(" ")
a = int(x[0])
b = int(x[1])

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

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:
# -*- coding: utf-8 -*-
"""
http://abc063.contest.atcoder.jp/tasks/abc063_a

"""
import sys
from sys import stdin
input = stdin.readline


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


if __name__ == '__main__':
    main(sys.argv[1:])

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

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 read_int_list():
    return list(map(int, input().split()))

a,b = read_int_list()
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('error')
    exit()
print(a+b)

Submission status: Accepted

Solution code:
# coding: utf-8
# Here your code !

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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


if __name__ == "__main__":
    main()

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

Submission status: Accepted

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

if L[0] + L[1] < 10:
  print(L[0] + L[1])
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 = list(map(int, input().split()))
if a + b >= 10:
    print("error")
else:
    print(a + b)

Submission status: Accepted

Solution code:
inp = input().split()
A = int(inp[0])
B = int(inp[1])
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("error")
else:
    print(A+B)

Submission status: Accepted

Solution code:
ab = list(map(int,input().split()))
if sum(ab) < 10:
    print(sum(ab))
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())
ans = a + b
if ans >= 10:
    print("error")
else:
    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:
num = input().split(" ")
result = int(num[0])+int(num[1])
if result < 10:
    print(result)
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(" "))
print(a+b if a+b<10 else "error")

Submission status: Accepted

Solution code:
def read_line():
    return input().rstrip()

def read_ints():
    return [int(x) for x in read_line().split()]

def read_int():
    return int(read_line())


a, b = read_ints()

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

Submission status: Accepted

Solution code:
from collections import defaultdict


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

total = A+B

if A >= 1 and B <=9 :
    if total < 10:
        print(total)
    else:
        print('error')

Submission status: Accepted

Solution code:
A, B = list(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:
#Restricted

a,b = list(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(A+B)
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:
inp = input().split()
r = int(inp[0]) + int(inp[1])
if r >= 10:
    print("error")
else:
    print(r)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A, B = map(int, raw_input().split())
print A+B if A+B < 10 else '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:
s = raw_input().split()

a = int(s[0])
b = int(s[1])

ans = a + b

if ans >= 10:
    print "error"
else:
    print ans

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:
# -*- coding: utf-8 -*-

import sys
import subprocess
import json
import time
import math
import re
import sqlite3

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("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 = 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 > 9:
    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:
i = input()

a = [int(l) for l in i.split()]

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

Submission status: Accepted

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

n = input()
n = n.split(' ')
res = int(n[0]) + int(n[1])
if res > 9:
    print('error')
else:
    print(res)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = (int(e) for e 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=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())
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:
# coding: utf-8
# Here your code !
l = list(map(int, input().split()))
a = l[0]
b = l[1]
if a+b >= 10:
    print("error")
else:
    print(a+b)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ab=input()
if(int(ab[0])+int(ab[2]) >= 10):
    print("error")
else:print(int(ab[0])+int(ab[2]))

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:
if __name__=="__main__":
    A,B=map(int, input().split())
    #print(A)
    #print(B)
    if(A+B < 10):
        print(A+B)
    else:
        print("error")

Submission status: Accepted

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

ans= A + B

print("error" if ans >=10 else ans)

Submission status: Accepted

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

Submission status: Accepted

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

#-------
# Initialize
A,B = map(int, input().split())

#-------
# Do
ans = A + B


#-------
# Output
if (ans <= 9):
    print(str(ans))
else:
    print("error")

Submission status: Accepted

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

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 -*-

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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 = [int(x) for x in input().split(" ")]
 
ans = A + B
 
print("error" if ans >= 10 else ans)

Submission status: Accepted

Solution code:
#!/bin/usr/python

x,y = [int(i) for i in input().split()]

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

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:
def print_add():
	A, B = [int(i) for i in input().split()]

	if A+B > 9:
		print('error')
		return 
	print(A+B)
	return
	
print_add()

Submission status: Accepted

Solution code:
l = map(int, raw_input().split())

ans = l[0] + l[1]

if ans >= 10:
    print "error"
else:
    print ans

Submission status: Accepted

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

ans = A + B

print("error" if ans >= 10 else ans)

Submission status: Accepted

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

res=A+B

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

Submission status: Accepted

Solution code:
input_str = input()
input = input_str.split(' ')
a = int(input[0])
b = int(input[1])
res = a + b
if res >= 10:
    print('error')
else:
    print(res)

Submission status: Accepted

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

ans = A + B

print("error" if ans >= 10 else ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

a,b = [int(x) for x in sys.stdin.readline().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(a+b)
else:
    print("error")

Submission status: Accepted

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

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

answer = a + b

if answer > 9:
    print("error")
else:
    print(answer)

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, raw_input().split())

#出力
inSum = A+B
if inSum >= 10:
    print 'error'
else:
    print str(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:
s=sum(map(int,input().split()))
print("error" if s>9 else s)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    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())
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=sum(map(int,input().split()))
print(a if a<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:
v=sum(map(ord,input()))&31;print([v,'error'][9<v])

Submission status: Accepted

Solution code:
v=sum(map(ord,input()))-128;print([v,'error'][9<v])

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:
v=eval(input().replace(*" +"));print([v,'error'][9<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:
a, b = input().split()
a = int(a)
b = int(b)
sum = a+b
if(sum >= 10):
  print("error")
else:
  print(sum)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

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

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

Submission status: Accepted

Solution code:
h , w = map(int, input().split())

if(h + w < 10):
    print(h + w)
else:
    print("error")

Submission status: Accepted

Solution code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
mod = 10**9 + 7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()

def main():
    a,b = LI()
    if a+b >= 10:
        return 'error'

    return a+b



print(main())

Submission status: Accepted

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

if __name__ == "__main__":
    solve()

Submission status: Accepted

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

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:
#ABC063A

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

Submission status: Accepted

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

if __name__ == "__main__":
    solve()

Submission status: Accepted

Solution code:
import sys

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

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

if __name__ == '__main__':
    solve()

Submission status: Accepted

Solution code:
# -*- coding:utf-8 -*-
a = sum(list(map(int,input().split())))
if a >= 10:
    print("error")
else:
    print(a)

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
from sys import stdin
a,b = map(int,stdin.readline().split())
ans = a+b
if ans >=10:
 ans = 'error'
print ans

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# _*_ coding: utf-8 _*_
a = input()
a.split()
a.split()[1]

A = int(a.split()[0])
B = int(a.split()[1])

sum = A + B

if sum < 10:
    print(sum)

elif sum >= 10:
    print("error")

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

x = input().split()

A = int(x[0])
B = int(x[1])

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

Submission status: Accepted

Solution code:
a,b = map(int, input().rstrip().split(' '))
if a + b >= 10:
  print('error')
else:
  print(str(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 = 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:
def main():
    a, b = list(map(int, input().split()))
    answer = a + b
    if answer >= 10:
        print("error")
    else:
        print(answer)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#coding:utf-8

l = map(int, raw_input().split())

if l[0] + l[1] >= 10:
	print 'error'

else:
	print l[0] + l[1]

Submission status: Accepted

Solution code:
x = list(map(int, input().split()))
if x[0]+x[1]<10:
    print(x[0]+x[1])
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:
# coding: utf-8
# Here your code !

x = input()
y = x.split(" ")

z = (int(y[0]) + int(y[1]))

if(z < 10):
    print(z)

else:
    print("error")

Submission status: Accepted

Solution code:
#Python

A = map(int, raw_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())
msg = a+b if a+b < 10 else "error"
print(msg)

Submission status: Accepted

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

if a+b > 9:
    print "error"
else:
    print a+b

Submission status: Accepted

Solution code:
# coding: utf-8
import array, bisect, collections, copy, heapq, itertools, math, random, re, string, sys, time
sys.setrecursionlimit(10 ** 7)
INF = 10 ** 20
MOD = 10 ** 9 + 7


def II(): return int(input())
def ILI(): return list(map(int, input().split()))
def IAI(LINE): return [ILI() for __ in range(LINE)]
def IDI(): return {key: value for key, value in ILI()}


def read():
    A, B = ILI()
    return (A, B)


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


def main():
    params = read()
    print(solve(*params))


if __name__ == "__main__":
    main()

Submission status: Accepted

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

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:
l = list(map(int,input().split()))
if l[0] + l[1] < 10:
    print(l[0] + l[1])
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 = input()
tmp_n = n.split(" ")

a = int(tmp_n[0])
b = int(tmp_n[1])

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding: utf-8

line = input().strip()

a = int(line[0])
b = int(line[2])

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:
rawIn= input()
rawIn= rawIn.split(' ')
a=int(rawIn[0])
b=int(rawIn[1])
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("error")
else:
    print(s)

Submission status: Accepted

Solution code:
# coding: utf-8

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

Submission status: Accepted

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

A,B = map(int,raw_input().split())# 文字列の入力


if A+B <10 and A>=1 and B<=9:
    print A+B
else:    
    print 'error'

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:
z =list(map(int,input().split(" ")))
s=z[0]+z[1]
if s>=10:
    print("error")
else:
    print(s)

Submission status: Accepted

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

result = A + B

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = 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(" "))

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

Submission status: Accepted

Solution code:
l = raw_input().split(" ")

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

if (aplusb > 9):
    print "error"
else:
    print(aplusb)

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:
data = input().split()
A = int(data[0])
B = int(data[1])

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

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

    print(ans)

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:
if __name__ == '__main__':
    a, b = map(int, input().split())
    x = a + b
    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(A+B)

Submission status: Accepted

Solution code:
num = [int(x) for x in input().split()]
if num[0] + num[1] >= 10:
    print("error")
else:
    print(num[0] + num[1])

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

def main():
    l = sys.stdin.readline()
    a, b = [int(i) for i in l.split()]

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

if __name__ == '__main__':
    sys.exit(main())

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

S = A + B
if S < 10:
    print(str(S))
else:
    print("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:
# -*- coding: utf-8 -*-

import sys
import os

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(str(A+B))

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

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 = input().split()
a= int(a)
b=int(b)

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

Submission status: Accepted

Solution code:
ab = input().split(' ')
s = int(ab[0]) + int(ab[1])
if s >= 10:
    print('error')
else:
    print(s)

Submission status: Accepted

Solution code:
from sys import stdin

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

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

if(x[0]+x[1]>=10):
    print("error")
    quit()
print(x[0]+x[1])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = map(int, raw_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, raw_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=map(int, raw_input().split())
c=a+b
print str(c) if c < 10 else "error"

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
inpt = map(int, raw_input().split())

if inpt[0] + inpt[1] >= 10:
	print 'error'
else:
	print inpt[0] + inpt[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:
# -*- coding: utf-8 -*-

a,b = map(int, raw_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 = list(map(int, input().split()))

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

Submission status: Accepted

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

main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python
from __future__ import division, print_function
import sys


def main():
    a, b = map(int, sys.stdin.readline().strip().split(" "))
    print(a + b if a + b < 10 else "error")


if __name__ == '__main__':
    main()

Submission status: Runtime Error

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

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