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:
# s=int(input())
# b=input()
# c=[]
# for i in range(b):
#     c.append(a[i])
a = list(map(int,input().split()))
#b = list(map(int,input().split()))

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
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の和 10以上ならerrorと出力

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

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

Submission status: Accepted

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

A, B = LI()


def main():
    ans = A + B;
    if ans >= 10:
        ans = "error"
    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
# A - Restricted

# A+Bの値を出力する
# A+Bが10以上の場合はerrorと出力する


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

answer = A + B

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

Submission status: Accepted

Solution code:
# 二つの整数 A, Bが入力されます。
# A + B の値を出力してください。
# ただし、
# A + B が 10 以上の場合は、
# 代わりに error と出力してください。

# 制約
# A, B は整数である。
# 1 ≦ A, B ≦ 9

# 標準入力から A, B の値を取得する
a, b = map(int, input().split())

# 計算結果を出力する
result = "error"

if a + b < 10:
    result = a + b

print(result)

Submission status: Accepted

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

# 処理
answer = A + B
if answer < 10:
    print(answer)
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 >= 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())

# A+Bが10以上ならerror、それ以外なら結果を出力
if A + B >= 10:
    print('error')
else:
    print(A + B)

Submission status: Accepted

Solution code:
# 二つの整数 A , B が入力されます。 A + B の値を出力してください。
# ただし、 A + B が 10 以上の場合は、代わりに error と出力してください。

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:
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:
import sys, re
from math import ceil, floor, sqrt, pi, factorial, gcd
from copy import deepcopy
from collections import Counter, deque
from heapq import heapify, heappop, heappush
from itertools import accumulate, product, combinations, combinations_with_replacement
from bisect import bisect, bisect_left, bisect_right
from functools import reduce
from decimal import Decimal, getcontext
# input = sys.stdin.readline 
def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_str(N): return [s_list() for _ in range(N)]
def s_row_list(N): return [list(s_input()) for _ in range(N)]
def lcm(a, b): return a * b // gcd(a, b)
sys.setrecursionlimit(10 ** 6)
INF = float('inf')
MOD = 10 ** 9 + 7
num_list = []
str_list = []

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

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

x = A + B

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

Submission status: Accepted

Solution code:
#   AtCoder abc063 a
#   ストレッチ課題

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

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

Submission status: Accepted

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

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

# 合計が10以上か判定後メッセージを出力
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:
A, B = map(int, input().split())

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# coding = SJIS

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

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

Submission status: Accepted

Solution code:
# 063a

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

Submission status: Accepted

Solution code:
int_1, int_2 = map(int, input().split())
answer = int_1 + int_2

if 10 <= answer:
    print('error')
else:
    print(answer)

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

# A+Bの値を表示
# A+Bが 10以上の場合は、代わりに error と出力
if A + B <= 9:
    print(A + B)
else:
    print('error')

Submission status: Accepted

Solution code:
n=eval(input().replace(' ','+'));print(['error',n][n<10])

Submission status: Accepted

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

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を入力
A,B = map(int,input().split())
# A+Bを出力、ただしA+Bが10以上の場合はeroorを出力
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,m=map(int,input().split())
s=n+m
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=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 = (int(x) for x in input().split())
if a + b < 10:
    print(a+b)
else:
    print('error')

Submission status: Accepted

Solution code:
# A - Restricted

# 二つの整数 A B を入力
# A + B を出力
# A + B >= 10 の時 error と出力

# A B を標準入力から得る
A, B = map(int, input().split())
# print(A, B)

# A + B < 10 の時 A + B を代入
# それ以外は error を代入

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

# 結果を出力
print(answer)

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

# 処理&出力
total_num = a + b
if total_num >= 10:
    print('error')
else:
    print(total_num)

Submission status: Accepted

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

answer = a + b

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a_num, b_num = map(int, input().split())

sum_a_and_b = a_num + b_num

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == "__main__":
    solve()

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

Submission status: Accepted

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

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

s = 'error'

if a+ b < 10:
        s = a+b

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

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:
import sys
def input(): return sys.stdin.readline().strip()


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())
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:
#k = int(input())
#s = input()
#a, b = map(int, input().split())
#s, t = map(str, input().split())
#l = list(map(int, input().split()))
#l = [list(map(int,input().split())) for i in range(n)]
#a = [list(input()) for _ in range(n)]


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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B = [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('error' if A+B >= 10 else 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:
# # Make IO faster
# import sys
# input = sys.stdin.readline

# # get single (or) multiple str
# X = input()

# # get single int
# N = int(input())
# # get multiple int (e.g., 2)
# X, Y = map(int, input().split())
# # get multiple int (e.g., 2) for N lines
# XY = [list(map(int, input().split())) for _ in range(N)]

# from IPython import embed; embed(); exit();

# 全部入り
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
import numpy as np
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()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
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 = list(map(int, input().split()))
print('error' if a + b >= 10 else a + b)

Submission status: Accepted

Solution code:
tmp = input().split(" ")
n = int(tmp[0]) + int(tmp[1])

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007


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

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

    return


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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(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 bisect,collections,copy,heapq,itertools,math,string
import sys
def S(): return sys.stdin.readline().rstrip()
def M(): return map(int,sys.stdin.readline().rstrip().split())
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LS(): return list(sys.stdin.readline().rstrip().split())
a, b = M()
a += b
if a > 9:
    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())
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:
ans = sum(map(int,input().split()))
print('error' if ans >=10 else ans)

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

Submission status: Accepted

Solution code:
import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def i(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
INF = 10**9
mod = 10**9+7

A,B = I()
if A+B > 9:
    print('error')
else:
    print(A+B)

Submission status: Accepted

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

c = a + b 

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=eval(input().replace(*' +'))
print('error'if a>=10 else a)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

resolve()

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

if ((A+B) < 10):
    print(A+B)

else:
    print("error")

Submission status: Accepted

Solution code:
import sys
A,B = map(int,input().split())
if A < 0 or A > 10 or B < 0 or B > 10:
    sys.exit()
if A + B >= 10:
    print("error")
if A + B < 10:
    print(A + B)

Submission status: Accepted

Solution code:
from fractions import gcd
from collections import Counter, deque, defaultdict
from heapq import heappush, heappop, heappushpop, heapify, heapreplace, merge
from bisect import bisect_left, bisect_right, bisect, insort_left, insort_right, insort
from itertools import accumulate, product, permutations, combinations

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('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:
def actual(A, B):
    sum_ = A + B

    if sum_ < 10:
        return sum_

    return 'error'

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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