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

Submission status: Accepted

Solution code:
"""
author : halo2halo
date : 30, Jan, 2020
"""

import sys
import itertools

# import numpy as np

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

A, B = map(int, read().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 = 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())
total = A + B

if total > 9:
    print('error')
else:
    print(total)

Submission status: Accepted

Solution code:
arr = input().split()
arr = list(map(int,arr))
a = arr[0]
b = arr[1]
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 main():
    from sys import stdin, setrecursionlimit
    #setrecursionlimit(10**9)
    #n = int(stdin.readline()[:-1])   
    r = stdin.readline()[:-1]
    #n = int(stdin.readline()[:-1])   
    #r = [stdin.readline() for i in range(n)]
    #t = [int(stdin.readline()) for i in range(n)]
    #a = r.split()
    #a = list(map(int, r.split()))
    a, b = map(int, r.split())
    #a = [int(s[i]) for i in range(1, n+1)]
    #a = [list(map(int, r.split())) for i in range(1,n+1)]
    #res = 0

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

A, B = MAP()

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:
x,y=input().split()
m=int(x)+int(y)
if m>9:
    print("error")
else:
    print(m)

#o mor khoda re... 50 er niche naki charachter run hoyna.. ki jala

Submission status: Accepted

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

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

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:
import sys
input = sys.stdin.readline
A,B = [int(i) for i in input().split()]
if A + B >= 10 :
    print('error')
else :
    print(A+B)

Submission status: Accepted

Solution code:
x = eval(input().replace(" ","+"))
if x<10:
  print(x)
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 = input().split()
sum = int(A) + int(B)
if sum >= 10:
    print('error')
else:
    print(sum)

Submission status: Accepted

Solution code:
N,T=map(int,input().split())
print(N+T if N+T<10 else "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:
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:
x, y = map(int, input().split())

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
a,b=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())
if A + B >= 10:
  r = 'error'
else:
  r = int(A + B)
print(r)

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:

import numpy as np
import fractions as fra


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

Submission status: Accepted

Solution code:
num = input().split()
num_i = [int(s) for s in num]

if(num_i[0]+num_i[1] >= 10):
    print('error')
else:
    print(num_i[0]+num_i[1])

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

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 = (int(i) for i in input().split())

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

Submission status: Accepted

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

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:
import sys
input = sys.stdin.readline
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 = list(map(int, input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

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

x = int(x)
y = int(y)

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

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

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

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

Submission status: Accepted

Solution code:
import math
import queue
import bisect
import heapq
import time
import itertools

mod = int(1e9+7)

def swap(a,b):
    return (b,a)

def gcd(a,b): #最大公約数
    if (a<b):
        a,b = swap(a,b)
    if (b==0):
        return a
    else:
        return gcd(b,a%b)

def lcm(a,b): #最小公倍数
    return a/gcd(a,b)*b

def divisors(a): # 約数列挙
    divisors = []
    for i in range(1,int(a**0.5)+1):
        if a%i==0:
            divisors.append(i)
            if i!=a//i:
                divisors.append(a//i)
    return divisors

def is_prime(a): #素数判定
    if a<2:
        return False
    elif a==2:
        return True
    elif a%2==0:
        return False
    sqrt_num = int(a**0.5)
    for i in range(3,sqrt_num+1,2):
        if a%i==0:
            return False
    return True

def prime_num(a): #素数列挙
    pn = [2]
    for i in range(3,int(a**0.5),2):
        prime = True
        for j in pn:
            if i%j==0:
                prime = False
                break
        if prime:
            pn.append(i)
    return pn

def prime_fact(a): #素因数分解
    sqrt = math.sqrt(a)
    res = []
    i = 2
    if is_prime(a):
        res.append(a)
    else:
        while a!=1:
            while a%i==0:
                res.append(i)
                a //= i
            i += 1
    return res

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def II():int(input())

def main():
    a,b=MI()
    if a+b>=10:
        print("error")
    else:
        print(a+b)
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(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())
temp_ans = a + b
if temp_ans >= 10:
  print('error')
else:
  print(temp_ans)

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

Submission status: Accepted

Solution code:
import sys
a, b = map(int, sys.stdin.readline().split())

def main():
    s = a + b
    return s if s < 10 else 'error'

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

Submission status: Accepted

Solution code:
import math

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

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 = list(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:
import sys

a, b = map(int, sys.stdin.readline().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 = 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 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<=9 else "error")

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.buffer.readline

A, B = 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())
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 = 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

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

Submission status: Accepted

Solution code:
A, B = list(map(int, input().split()))
#data2 = list(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('error')
else:
  print(A+B)

Submission status: Accepted

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

A=int(A)
B=int(B)

n=A+B

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

Submission status: Accepted

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

n = A + B

if n < 10 :
    print (n)
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:
# ABC063a
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**6)

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 print('error')

Submission status: Accepted

Solution code:
##### 解けた #####

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

if sumAB<10: # 合計が10未満の場合そのまま出力
    print(sumAB)
else: # 10以上の場合、"error"と出力
    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 = 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())

A_B = (A+B)

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

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

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

Submission status: Accepted

Solution code:
s = sum(map(int,input().split()));print(s if s<10else "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("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,b=map(int,input().split())
print("error" if a+b>9 else a+b)

Submission status: Accepted

Solution code:
def examA():
    A, B = LI()
    ans = A+B
    if ans>=10:
        ans = str("error")
    print(ans)


import sys
import copy
import bisect
import heapq
from collections import Counter,defaultdict,deque
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def S(): return sys.stdin.readline().strip()
mod = 10**9 + 7
inf = float('inf')

examA()

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
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())

#三項演算子での書き方
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:
    print(ans)
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:
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())
print(A+B if A+B<=9 else 'error')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#Restricted
A, B = map(int, input().split())
S = A + B
if S > 9:
    print("error")
else:
    print(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:
n = sum(map(int, input().split()))
print(n if n<10 else "error")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

a, b = [int(x) for x in input().split()]

s = a + b

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

Submission status: Accepted

Solution code:
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    a,b=INTM()
    if a+b<=9:
        print(a+b)
    else:
        print('error')
if __name__ == '__main__':
    do()

Submission status: Accepted

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

if A + B <= 9:
  print(A + B)
else:
  print("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 = (int(x) for x in input().split())
sum = A + B

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

Submission status: Accepted

Solution code:
x=sum(list(map(int,input().split())))
print(x if x<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:
#n = int(input())
#n,k = map(int,input().split())
#x = list(map(int,input().split()))

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#2019/10/01
A, B = map(int, open(0).readline().split())
print(A+B if A+B <10 else "error")

Submission status: Accepted

Solution code:
def slove():
    import sys
    input = sys.stdin.readline
    a, b = list(map(int, input().rstrip('\n').split()))
    print(a + b if a + b < 10 else "error")


if __name__ == '__main__':
    slove()

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


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

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:
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())
print(("error",a+b)[a+b<10])

Submission status: Accepted

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

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:
# ARC 063 A

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


if __name__ == "__main__":
    resolve()

Submission status: Accepted

Solution code:
# 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 = 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())
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:
Sum =  sum(map(int,input().split()))
if Sum >= 10:
    print("error")
else:
    print(Sum)

Submission status: Accepted

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

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

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

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


if __name__ == "__main__":
    resolve()