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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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:
c=eval(input().replace(" ","+"));print(c*(c<10)or"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:
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 print('error')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x=sum(map(int,input()[::2]));print(['error',x][x<10])

Submission status: Accepted

Solution code:
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
    
    
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 ("error") if A+B >= 10 else print(A+B)

Submission status: Accepted

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

Submission status: Accepted

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

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,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, input().split())
if 1 <= a <= 9 and 1 <= b <= 9:
    print(a + b if a + b < 10 else 'error')
else:
    print('hoge!')

Submission status: Accepted

Solution code:
s = input().split()
a, b = int(s[0]), int(s[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 print("error")

Submission status: Accepted

Solution code:
import sys
import copy
import  math
from _bisect import *
from collections import *
from operator import itemgetter
from math import factorial
"""
from fractions import gcd
def lcm(x, y):
    return (x * y) // gcd(x, y)
"""
stdin = sys.stdin
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:


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

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

if __name__== "__main__":
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

import sys
sys.setrecursionlimit(12345678)
import itertools
from collections import Counter
from collections import defaultdict
from collections import deque
import bisect
from heapq import heappush, heappop


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

Submission status: Accepted

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

import sys

input = sys.stdin.readline

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

main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
N, K = map(int, input().split())
print(N+K if N+K<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:
# -*- coding: utf-8 -*-

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:
import sys
stdin = sys.stdin
import numpy as np

 
ns = lambda: stdin.readline().rstrip()
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
s = lambda h: [list(map(int, stdin.readline().split())) for i in range(h)]

a, b = na()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = sum(int(tok) for tok in input().split())
print(s if s < 10 else "error")

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a = input().replace(' ', '+')
print('error' if eval(a) >= 10 else eval(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())
c = a+b
if c >= 10:
  print("error")
else:
  print(c)

Submission status: Accepted

Solution code:
N = sum(map(int,input().split()))
print(N if N < 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())

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

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
INF = float("inf")


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


def main():

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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:
#12:03
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 (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 = (int(i) for i in 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:
a,b,=map(int,input().split());print([a+b,'error'][a+b>9])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#63

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

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

Submission status: Accepted

Solution code:

Tmp = []
Tmp = input().rstrip().split(' ')

nA = int(Tmp[0])
nB = int(Tmp[1])

nAns = nA + nB

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- 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:
# -*- coding: utf-8 -*-
import sys
import copy
import collections
from bisect import bisect_left
from bisect import bisect_right
from collections import defaultdict
from heapq import heappop, heappush
import math
import itertools
import random
 
# NO, PAY-PAY
#import numpy as np
#import statistics
#from statistics import mean, median,variance,stdev
 
def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))
 
def main():
    A,B = inputMap()
    
    tmp = A+B
    
    if tmp < 10:
        print(tmp)
    else:
        print("error")
    
        
if __name__ == "__main__":
	main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = input().split()

print('error') if int(num[0])+int(num[1])>=10 else print(int(num[0])+int(num[1]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-S
A,B = [int(i) for i in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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(int(A+B))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from fractions import gcd
 
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()
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=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:
A, B = map(int, input().split())

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
import itertools
sys.setrecursionlimit(10**5)
stdin = sys.stdin
bisect_left = bisect.bisect_left
bisect_right = bisect.bisect_right
def LI(): return list(map(int, stdin.readline().split()))
def LF(): return list(map(float, stdin.readline().split()))
def LI_(): return list(map(lambda x: int(x)-1, stdin.readline().split()))
def II(): return int(stdin.readline())
def IF(): return float(stdin.readline())
def LS(): return list(map(list, stdin.readline().split()))
def S(): return list(stdin.readline().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float('INF')

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

#B
def B():
    return

#C
def C():
    return

#D
def D():
    return

#E
def E():
    return

#F
def F():
    return

#G
def G():
    return

#H
def H():
    return

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

Submission status: Accepted

Solution code:


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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

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

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

else:
    print (A+B)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
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
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(a+b)
else:
    print('error')

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

# solve
ans = (A + B) if (A + B) < 10 else "error"

# output
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

print(ans) if ans <= 9 else print("error")

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
sys.setrecursionlimit(300000)


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


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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
nl = lambda: list(map(int, input().split()))
sl = lambda: input().split()
n = lambda: int(input())
s = lambda: input()

A, B = nl()

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

Submission status: Accepted

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

Submission status: Accepted

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

# print(A)
# print(B)

sum = A + B

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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


abc()

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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