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:
from statistics import mean, median,variance,stdev
import sys
import math

x = input().split()
#y = input().split()
a= []
for i in range(len(x)):
    a.append(int(x[i]))

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

Submission status: Accepted

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


def main():
    """Function."""
    a, b = map(int, input().split())

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
A , B =map(int,input().split())
if A + B <10:
  print("{}".format(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 = [int(i) for i in input().split()]
print(A+B if A+B<10 else "error")

Submission status: Accepted

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

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(_) for _ 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 a[0]+a[1]<10:
    print(str(a[0]+a[1]))
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())
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(A+B)
else:
    print("error")

Submission status: Accepted

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

print(str(v) if v < 10 else 'error')

Submission status: Accepted

Solution code:
a=input().strip().split(" ")

b=[int(i) for i in a]

c=b[0]+b[1]

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input();a=int(s[0])+int(s[-1]);print('error' if a>9 else a)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x,y = map(int,input().split())
a = x+y
if a >= 10:
        print('error')
else:
        print(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:
s = sum(list(map(int, input().split())))
print('error' if s >= 10 else s)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
a,b = map(int, input().split())

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = eval(input().replace(" ", "+"))
print(["error", s][s < 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=list(map(int,input().split()))
print("error" if a+b>=10 else a+b)

Submission status: Accepted

Solution code:
s = eval(input().replace(" ", "+"))
print(s if s < 10 else "error")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
a=eval(input().replace(" ","+"))
print(["error",a][a<10])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
v=sum(map(int,input().split()))
print([v,'error'][v//10])

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

Submission status: Accepted

Solution code:
x,y,z=input();w=int(x)+int(z);print(w//10*"error"or w)

Submission status: Accepted

Solution code:
x,y,z=input();w=eval(x+"+"+z);print(w//10*"error"or w)

Submission status: Accepted

Solution code:
x=input();z=eval(x[0]+"+"+x[2]);print(z//10*"error"or z)

Submission status: Accepted

Solution code:
z=eval(input().replace(" ","+"));print(z//10*"error"or z)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=eval(input().replace(' ','+'));print([a,'error'][a>9])

Submission status: Accepted

Solution code:
a=eval(input().replace(' ','+'));print('error'if a>9else a)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- 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 = (int(_) for _ in input().split())
print('error') if a+b >= 10 else print(a+b)

Submission status: Accepted

Solution code:
import sys
import math
import collections
import itertools
import array
import inspect

# Set max recursion limit
sys.setrecursionlimit(1000000)


# Debug output
def chkprint(*args):
    names = {
        id(v): k
        for k, v in inspect.currentframe().f_back.f_locals.items()
    }
    print(', '.join(
        names.get(id(arg), '???') + ' = ' + repr(arg) for arg in args))


# Binary converter
def to_bin(x):
    return bin(x)[2:]


def li_input():
    return [int(_) for _ in input().split()]


def gcd(n, m):
    if n % m == 0:
        return m
    else:
        return gcd(m, n % m)


def gcd_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = gcd(v, L[i])

    return v


def lcm(n, m):
    return (n * m) // gcd(n, m)


def lcm_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = lcm(v, L[i])

    return v


# Width First Search (+ Distance)
def wfs_d(D, N, K):
    """
    D: 隣接行列(距離付き)
    N: ノード数
    K: 始点ノード
    """

    dfk = [-1] * (N + 1)
    dfk[K] = 0

    cps = [(K, 0)]
    r = [False] * (N + 1)
    r[K] = True
    while len(cps) != 0:
        n_cps = []
        for cp, cd in cps:
            for i, dfcp in enumerate(D[cp]):
                if dfcp != -1 and not r[i]:
                    dfk[i] = cd + dfcp
                    n_cps.append((i, cd + dfcp))
                    r[i] = True

        cps = n_cps[:]

    return dfk


# Depth First Search (+Distance)
def dfs_d(v, pre, dist):
    """
    v:  現在のノード
    pre: １つ前のノード
    dist: 現在の距離

    以下は別途用意する
    D: 隣接リスト(行列ではない)
    D_dfs_d: dfs_d関数で用いる，始点ノードから見た距離リスト
    """

    global D
    global D_dfs_d

    D_dfs_d[v] = dist

    for next_v, d in D[v]:
        if next_v != pre:
            dfs_d(next_v, v, dist + d)

    return


def sigma(N):
    ans = 0
    for i in range(1, N + 1):
        ans += i
    return ans


class Combination:
    def __init__(self, n, mod):

        g1 = [1, 1]
        g2 = [1, 1]
        inverse = [0, 1]
        for i in range(2, n + 1):
            g1.append((g1[-1] * i) % mod)
            inverse.append((-inverse[mod % i] * (mod // i)) % mod)
            g2.append((g2[-1] * inverse[-1]) % mod)
        self.MOD = mod
        self.N = n
        self.g1 = g1
        self.g2 = g2
        self.inverse = inverse

    def __call__(self, n, r):
        if (r < 0 or r > n):
            return 0
        r = min(r, n - r)
        return self.g1[n] * self.g2[r] * self.g2[n - r] % self.MOD


# --------------------------------------------

dp = None


def main():
    a, b = li_input()

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


main()

Submission status: Accepted

Solution code:
def main10():
    buf = input("");
    bufs = buf.split();
    num = [];
    for i in range(2):
        num.append(int(bufs[i]));
    if(num[0] + num[1] > 9):
        print("error");
    else:
        print(num[0]+num[1]);


if __name__ == '__main__':
    main10()

Submission status: Accepted

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

c = a + b

if c <= 9:
  print(c)
else:
  print("error")

Submission status: Accepted

Solution code:
#63a
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())
C = A+B
if C >= 10 :
    print("error")
else :
    print(C)

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 = (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:
# vim: set fileencoding=utf-8 :
a, b = map(int, raw_input().split())

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

Submission status: Accepted

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

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

sys.exit(0)

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

Submission status: Accepted

Solution code:

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

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

Submission status: Accepted

Solution code:

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

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

if __name__ == "__main__":
        main()

Submission status: Accepted

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

Submission status: Accepted

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

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from collections import defaultdict
import sys,heapq,bisect,math,itertools,string
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
AtoZ = [chr(i) for i in range(65,65+26)]
atoz = [chr(i) for i in range(97,97+26)]

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

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

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 10 <= a+b else a+b)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
#coding:utf-8
n=[int(i) for i in input().split()]
if(n[0]+n[1]<10):
  print(n[0]+n[1])
else:
  print("error")

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
A, B = 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:
# -*- 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:
# input
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())

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

sum = A + B

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

Submission status: Accepted

Solution code:
x=sum(map(int,input()[::2]))
print(['error',x][x<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())
print("error" if (a+b)//10 else a+b)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
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 = [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,"error"][(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())

print(('{}'.format(a+b),'error')[a+b>=10])

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a,b=[int(i) for i in 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 = list(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,'error'][a+b>=10])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
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:
# -*- coding: utf-8 -*-

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

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

Submission status: Accepted

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

ans = N[0]+N[1]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

# AtCoder Beginner Contest
# Problem A

if __name__ == '__main__':
    a, b = list(map(int, input().split()))

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

Submission status: Accepted

Solution code:
import math
import sys

def getinputdata():

    # 配列初期化
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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



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

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

if __name__ == "__main__": main()

Submission status: Accepted

Solution code:
import numpy as np
import pdb

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=[int(x) for x in 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())

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

Submission status: Accepted

Solution code:
idx = input()

a = idx.split(" ")

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

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

Submission status: Accepted

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

Submission status: Accepted

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


solve()

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

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 = list(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())
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(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:
num = [int(x) for x in input().split()]
print(sum(num) if sum(num) < 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:
sum_  = sum(map(int, input().split()))
print(sum_ if sum_ < 10 else "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:
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())
print(x + y if x + y < 10 else "error")

Submission status: Accepted

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