Problem:


Score : 100 points

Problem Statement

Joisino wants to evaluate the formula "A op B".
Here, A and B are integers, and the binary operator op is either + or -.
Your task is to evaluate the formula instead of her.

Constraints

1≦A,B≦10^9

op is either + or -.

Input

The input is given from Standard Input in the following format:

A op B

Output

Evaluate the formula and print the result.

Sample Input 1

1 + 2

Sample Output 1

3

Since 1 + 2 = 3, the output should be 3.

Sample Input 2

5 - 7

Sample Output 2

-2



Sample input:
1 + 2


Sample output:
3

Submission status: Accepted

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

if op == '+':
    print(int(A) + int(B))
if op == '-':
    print(int(A) - int(B))

Submission status: Accepted

Solution code:
equa = input().split()
if equa[1] == "+":
    print(int(equa[0]) + int(equa[2]))
else:
    print(int(equa[0]) - int(equa[2]))

Submission status: Accepted

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

A,op,B=input().split(" ")
A,B=list(map(int,[A,B]))

if op=="+": # 足し算
    print(A+B)
elif op=="-": # 引き算
    print(A-B)

Submission status: Accepted

Solution code:
a,c,b = map(str, input().split())
if c=="+":
  ans = int(a) + int(b)
else:
  ans = int(a)-int(b)
print(ans)

Submission status: Accepted

Solution code:
a = input().split()
if a[1] == '+':
  print(int(a[0])+int(a[2]))
else:
  print(int(a[0])-int(a[2]))

Submission status: Accepted

Solution code:
a,op,b = map(str,input().split())
if op=="+":
    print(int(a)+int(b))
else:
    print(int(a)-int(b))

Submission status: Accepted

Solution code:
li = list(input().split())

if "+" in li:
  print(int(li[0]) + int(li[2]))
else:
  print(int(li[0]) - int(li[2]))

Submission status: Accepted

Solution code:
print(eval("".join(input().split())))

Submission status: Accepted

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

A = int(A)
B = int(B)
if op == "+":
    print(A+B)
elif op == "-":
    print(A-B)

Submission status: Accepted

Solution code:
A, op ,B = map(str, input().split())
if op == "+":
    print(int(A)+int(B))
else:
    print(int(A)-int(B))

Submission status: Accepted

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

if op == "+":
    print(int(a) + int(b))
elif op == "-":
    print(int(a) - int(b))

Submission status: Accepted

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

Submission status: Accepted

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

#入力
# スペース区切りの整数の入力
strA, op, strB = map(str, input().split())

if op == "+" :
  print ( int(strA) + int(strB) )
else :
  print ( int(strA) - int(strB) )

Submission status: Accepted

Solution code:
def solve():
    A, op, B = tuple(input().split())
    # print(A, op, B)

    if op == "+":
        return int(A) + int(B)
    else:
        return int(A) - int(B)


if __name__ == '__main__':
    res = solve()
    print(res)

Submission status: Accepted

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

if op == '+':
    print(a+b)
elif op == '-':
    print(a-b)

Submission status: Accepted

Solution code:
a,op,b=map(str, input().split())
if op=="+":
    print(int(a)+int(b))
else:
    print(int(a)-int(b))

Submission status: Accepted

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

if k == '+' :
	print(int(a)+int(b))
else:
	print(int(a)-int(b))

Submission status: Accepted

Solution code:
#!python3.4.3
a, op, b = input().split(' ')

if op == '+':
    print(int(a) + int(b))
elif op == '-':
    print(int(a) - int(b))

Submission status: Accepted

Solution code:
a,b,c = map(str,input().split())
ans = eval(a+b+c)
print(ans)

Submission status: Accepted

Solution code:
a,c,b=input().split()
if c=="+":
  print(int(a)+int(b))
else:
  print(int(a)-int(b))

Submission status: Accepted

Solution code:
a, op, b = input().split()
a = int(a)
b = int(b)
if op ==  "+" :
    print(a + b)
elif op == "-" :
    print(a - b)

Submission status: Accepted

Solution code:
a,b,c=map(str, input().split())
if b == "+":
    print(int(a)+int(c))
else:
    print(int(a)-int(c))

Submission status: Accepted

Solution code:
# python3 (3.4.3)
import sys
input = sys.stdin.readline

# main
A,op,B = input().split()

print(eval(A+op+B))

Submission status: Accepted

Solution code:
a, op, b = map(str, input().split())
if op == "+":
	print (int(a) + int(b))
else:
	print (int(a) - int(b))

Submission status: Accepted

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

Submission status: Accepted

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

if op == '+':
  print(A + B)
else:
  print(A - B)

Submission status: Accepted

Solution code:
def examA():
    A, op, B = LS()
    if op=="+":
        ans = int(A) + int(B)
    elif op=="-":
        ans = int(A) - int(B)
    print(ans)



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

examA()

Submission status: Accepted

Solution code:
a,op,b = map(str,input().split())
eq = a+op+b
print(eval(eq))

Submission status: Accepted

Solution code:
A, op, B = map(str, input().split())
A = int(A)
B = int(B)
 
if op == '+':
  print(A+B)
else:
  print(A-B)

Submission status: Accepted

Solution code:
a,op,b=input().split()
a=int(a)
b=int(b)
if op=='+':print(a+b)
else:print(a-b)

Submission status: Accepted

Solution code:
A,op,B=map(str,input().split())
if op == '+':
    print(int(A)+int(B))
elif op == '-':
    print(int(A)-int(B))

Submission status: Accepted

Solution code:
a = input().split()
if a[1] == '+':
    print(int(a[0])+int(a[2]))
else:
    print(int(a[0])-int(a[-1]))

Submission status: Accepted

Solution code:
a,op,b = input().split()
a = int(a)
b = int(b)
if op=="+":
    print(a+b)
else:
    print(a-b)

Submission status: Accepted

Solution code:
a=input().split()
if a[1]=='+':
    print(int(a[0])+int(a[2]))
else:
    print(int(a[0])-int(a[-1]))

Submission status: Accepted

Solution code:
A, op, B = input().split()
A = int(A)
B = int(B)
if op == '+':
    print(A+B)
else:
    print(A-B)

Submission status: Accepted

Solution code:
a, b, c = map(str, input().split())
if b =="+":
  print(int(a) + int(c))
else:
  print(int(a) - int(c))

Submission status: Accepted

Solution code:
li = list(map(str, input().split()))
if li[1] == '+':
  print(int(li[0])+int(li[2]))
elif li[1] == '-':
  print(int(li[0])-int(li[2]))

Submission status: Accepted

Solution code:
a, o, b = map(str, input().split())
 
if o == "+":
  print(int(a) + int(b))
else:
  print(int(a) - int(b))

Submission status: Accepted

Solution code:
a,b,c=input().split()
a=int(a)
c=int(c)
if b=='-':
  print(a-c)
else:
  print(a+c)

Submission status: Accepted

Solution code:
a,b,c=input().split()
print(eval(a+b+c))

Submission status: Accepted

Solution code:
# A - Addition and Subtraction Easy
s = input().split()
a = int(s[0])
op = s[1]
b = int(s[2])
print(a + b if op == '+' else a - b)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a, o, b = input().split()
A = int(a)
B = int(b)

if(o == '+'):
  print(A+B)
else:
  print(A-B)

Submission status: Accepted

Solution code:
A, op, B = map(str, input().split())
if op == '+':
  print(int(A)+int(B))
else:
  print(int(A)-int(B))

Submission status: Accepted

Solution code:
x = input()
print(eval(x))

Submission status: Accepted

Solution code:
x = list(map(str, input().split()))
a, b  = int(x[0]), int(x[2])
if x[1] == '+':
    print(a + b)
else:
    print(a - b)

Submission status: Accepted

Solution code:
A, op, B = input().split()
a, b = [int(x) for x in [A, B]]
if op == '+':
    ans = a + b
else:
    ans = a - b

print(ans)

Submission status: Accepted

Solution code:
A, op, B = input().split()
A = int(A)
B = int(B)
if op == "+":
    print(A+B)
else:
    print(A-B)

Submission status: Accepted

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

if op == "+":
    print(int(A)+int(B))
else:
    print(int(A)-int(B))

Submission status: Accepted

Solution code:
def main():
  a, op, b = raw_input().split()
  if op == '+':
    print(int(a) + int(b))
  if op == '-':
    print(int(a) - int(b))

main()

Submission status: Accepted

Solution code:
func = eval(input())
print(func)

Submission status: Accepted

Solution code:
a=input().split()
if a[1] =='+':
  print(int(a[0])+int(a[2]))
else:
  print(int(a[0])-int(a[2]))

Submission status: Accepted

Solution code:
a,b,c=input().split()
print(int(a)+int(c) if b=='+' else int(a)-int(c))

Submission status: Accepted

Solution code:
s = list(input().split())
if (s[1]=='+'):
    print(int(s[0])+int(s[2]))
if (s[1]=='-'):
    print(int(s[0])-int(s[2]))

Submission status: Accepted

Solution code:
AopB=input().split();[print(int(AopB[0])+int(AopB[2])) if AopB[1]=='+' else print(int(AopB[0])-int(AopB[2]))]

Submission status: Accepted

Solution code:
x = input()

y = x.split(" ")

if y[1] == "+":
    print(int(y[0]) + int(y[2]))
elif y[1] == "-":
    print(int(y[0]) - int(y[2]))

Submission status: Accepted

Solution code:
s=list(input().split())
if(s[1]=="+"):
    print(int(s[0]) + int(s[2]))
else:
    print(int(s[0]) - int(s[2]))

Submission status: Accepted

Solution code:
def solve():
    print(eval(input()))

if __name__ == '__main__':
    solve()

Submission status: Accepted

Solution code:
s=input()
turn=0 
a=''
b=''
for i in s: 
    if i=='+' or i=='-': 
        turn=1 
        if i=='+':
            op=1 
        else: 
            op=-1 
    elif turn==0 and i:
        a+=i 
    elif turn==1 and i: 
        b+=i 
if op==1:
    print(int(a)+int(b))
else:
    print(int(a)-int(b))

Submission status: Accepted

Solution code:
a,op,b=map(str,input().split())
a=int(a);b=int(b)
if op== '+':
  print(a+b)
else:
  print(a-b)

Submission status: Accepted

Solution code:
print(eval(''.join(input().strip().split(' '))))

Submission status: Accepted

Solution code:
A, op, B = map(str, input().split())
A = int(A)
B = int(B)
if op == "+":
    print(A + B)
else:
    print(A - B)

Submission status: Accepted

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

if op == '+':
    print(a+b)
else:
    print(a-b)

Submission status: Accepted

Solution code:
s = list(input().split())

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

op = s[1]

if op == "+":
    print(a+b)
else:
    print(a-b)

Submission status: Accepted

Solution code:
A,op,B = input().split()
ans = A + op + B
if op == '+':
    print(int(A)+int(B))
elif op == '-':
    print(int(A)-int(B))

Submission status: Accepted

Solution code:
A,op,B = map(str,input().split())
if op == "+":
    print(int(A) + int(B))
else:
    print(int(A) - int(B))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    a, o, b = input().split()
    if o == '+':
        print(int(a) + int(b))
    else:
        print(int(a) - int(b))

Submission status: Accepted

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

if op == '+':
    print(int(a)+int(b))
else:
    print(int(a)-int(b))

Submission status: Accepted

Solution code:
a,b,c=input().split()
print(int(a)+int(c)) if b=='+' else print(int(a)-int(c))

Submission status: Accepted

Solution code:
str=input()
print(eval(str))

Submission status: Accepted

Solution code:
op=[str(_) for _ in input().split()]
if op[1] == '+':
  print(int(op[0]) + int(op[2]))
else:
  print(int(op[0]) - int(op[2]))

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

a,op,b = input().split()

if op == '+':
    print(int(a)+int(b))
else:
    print(int(a)-int(b))

Submission status: Accepted

Solution code:
S = input().split()
a, b = int(S[0]), int(S[2])
op = S[1]
if op == '+':
  print(a + b)
else:
  print(a - b)

Submission status: Accepted

Solution code:
a = [str(_) for _ in input().split()]
if a[1]=='+':
  print(int(a[0])+int(a[2]))
else:
  print(int(a[0])-int(a[2]))

Submission status: Accepted

Solution code:
s=input()
S=s.split()
a=0
if S[1]=="+":
    a=int(S[0])+int(S[2])
else:
    a=int(S[0])-int(S[2])
print(a)

Submission status: Accepted

Solution code:
x=list(map(str,input().split()))
if x[1] == "+":
    print(int(x[0])+int(x[2]))
else:
    print(int(x[0])-int(x[2]))

Submission status: Accepted

Solution code:
a, op, b = input().split()
print(int(a) + int(b) if op == '+' else int(a) - int(b))

Submission status: Accepted

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

if op == '+' :
    print(int(A) + int(B))
else :
    print(int(A) - int(B))

Submission status: Accepted

Solution code:
nyuuryoku = input().split()
a = int(nyuuryoku[0])
b = int(nyuuryoku[2])
if nyuuryoku[1] == "+":
  print(a+b)
else:
  print(a-b)

Submission status: Accepted

Solution code:
A, op, B = input().split()
A, B = int(A), int(B)
if op == '+':
    print(A+B)
else:
    print(A-B)

Submission status: Accepted

Solution code:
a, op, b = map(str, input().split())
a = int(a)
b = int(b)
print(a + b if op == "+" else a - b)

Submission status: Accepted

Solution code:
a,c,b = map(str, input().split())
aa = int(a)
bb = int(b)
if c == '+':
  print(aa+bb)
else:
  print(aa-bb)

Submission status: Accepted

Solution code:
A, op, B = map(str, input().split())
if op == "+":
  print(int(A)+int(B))
else:
  print(int(A)-int(B))

Submission status: Accepted

Solution code:
A,op,B=input().split()
A=int(A)
B=int(B)
if op=='+':
  print(A+B)
else:
  print(A-B)

Submission status: Accepted

Solution code:
A,O,B=map(str,input().split())
print([int(A)+int(B),int(A)-int(B)][O=='-'])

Submission status: Accepted

Solution code:
A, op, B = input().split()
print(int(A) + int(B) * (1 if op == "+" else -1))

Submission status: Accepted

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


if __name__ == '__main__':
    slove()

Submission status: Accepted

Solution code:
s = input().split()
if s[1] =='+':
  print(int(s[0])+ int(s[2]))
else:
  print(int(s[0])- int(s[2]))

Submission status: Accepted

Solution code:
A, op, B = input().split()
if(op=='+'): print(int(A)+int(B))
else: print(int(A)-int(B))

Submission status: Accepted

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

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

if(op=='+'): print(A+B)
elif(op=='-'): print(A-B)

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


def main():
    a, o, b = input().split()
    a = int(a)
    b = int(b)
    if o == "+":
        print(a + b)
    else:
        print(a - b)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
a,o,b = input().split()
print(int(a)+int(b) if o == "+" else int(a)-int(b))

Submission status: Accepted

Solution code:
A, op, B = input().split()
if op == '+':
	print(int(A) + int(B))
else:
	print(int(A) - int(B))

Submission status: Accepted

Solution code:
a,b,c = input().split()
if b == '+':
    print(int(a)+int(c))
else:
    print(int(a)-int(c))

Submission status: Accepted

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

if op=="+":
    ans = int(a)+int(b)
else:
    ans = int(a)-int(b)

print(ans)

Submission status: Accepted

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

if op == '+':
  print(int(A) + int(B))
else:
  print(int(A) - int(B))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input().split()
A=int(s[0])
B=int(s[2])
 
if s[1] == '+':
  print(A+B)
else:
  print(A-B)

Submission status: Accepted

Solution code:
s=input().split()
A=int(s[0])
B=int(s[2])

if s[1] == '+':
  print(A+B)
else:
  print(A-B)

Submission status: Accepted

Solution code:
A,op,B=input().strip().split()
if op == '+':
  print(int(A)+int(B))
else:
  print(int(A)-int(B))

Submission status: Accepted

Solution code:
print(eval(input().rstrip()))

Submission status: Accepted

Solution code:
input_ = eval(input())

print(input_)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
formula = input().split()
ans = 0 
if formula[1] == "+":
  ans = int(formula[0]) + int(formula[2])
elif formula[1] == "-":
  ans = int(formula[0]) - int(formula[2])
print(ans)

Submission status: Accepted

Solution code:
i = input().split()
if i[1] == "+":
  print(int(i[0])+int(i[2]))
else:
  print(int(i[0])-int(i[2]))

Submission status: Accepted

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

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

if op == "+":
    print(a+b)
else:
    print(a-b)

Submission status: Accepted

Solution code:
S = input().split()
a, b = int(S[0]), int(S[2])
if S[1] == '+':
    print(a + b)
else:
    print(a - b)

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(2147483647)
INF=float("inf")
MOD=10**9+7
input=lambda :sys.stdin.readline().rstrip()
def resolve():
    print(eval(input()))
resolve()

Submission status: Accepted

Solution code:
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    a = LISTS()
    if a[1] =='+':
        print(int(a[0])+int(a[2]))
    else:
        print(int(a[0])-int(a[2]))
if __name__ == '__main__':
    do()

Submission status: Accepted

Solution code:
a,op,b=input().split()
if op=="+":
   print(int(a)+int(b))
else:
   print(int(a)-int(b))

Submission status: Accepted

Solution code:
A=input().split()
B=int(A[0])
C=int(A[2])
if A[1]=="+":
  print(B+C)
else:
  print(B-C)

Submission status: Accepted

Solution code:
l = input().split()
if l[1] == '+':
    print(int(l[0])+int(l[2]))
else:
    print(int(l[0])-int(l[2]))

Submission status: Accepted

Solution code:
A,op,B = input().split()
if op == "+":
    ans = int(A)+int(B)
else:
    ans = int(A)-int(B)
    
print(ans)

Submission status: Accepted

Solution code:
a,x,b = map(str,input().split())
if x== '+':
    print(int(a)+int(b))
elif x== '-':
    print(int(a)-int(b))

Submission status: Accepted

Solution code:
a, op, c = [s for s in input().split()]
if op == "+":
    print(int(a)+int(c))
elif op == "-":
    print(int(a)-int(c))

Submission status: Accepted

Solution code:
inp = input().split()
a,op,b = int(inp[0]),inp[1],int(inp[2])
if op == "+":
    res = a+b
if op == "-":
    res = a-b
print(res)

Submission status: Accepted

Solution code:
AB = list(map(str,input().split()))
if AB[1] == "+":
    print(int(AB[0])+int(AB[2]))
else:
    print(int(AB[0])-int(AB[2]))

Submission status: Accepted

Solution code:
#coding:utf-8

a, op, b = map(str, input().split())

if op == '+':
  print(int(a) + int(b))
else:
  print(int(a) - int(b))

Submission status: Accepted

Solution code:
print(eval(input().replace(' ', '')))

Submission status: Accepted

Solution code:
A, op, B = input().split()
A = int(A)
B = int(B)
ans = A + B if op == '+' else A - B
print(ans)

Submission status: Accepted

Solution code:
a, op, b = input().split()
a = int(a)
b = int(b)
if op == '+':
  print(a + b)
else:
  print(a - b)

Submission status: Accepted

Solution code:
def resolve():
    aopb = input()
    print(eval(aopb))


if __name__ == "__main__":
    resolve()

Submission status: Accepted

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

print(eval(a + op + b))

Submission status: Accepted

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

if option == "+":
    total = int(A)+int(B)
    print(total)
else:
    minus = int(A)-int(B)
    print(minus)

Submission status: Accepted

Solution code:
c =input()
print(eval(c))

Submission status: Accepted

Solution code:
a, o, b = input().split()
if o == '+':
    print(int(a) + int(b))
else:
    print(int(a) - int(b))

Submission status: Accepted

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

if op == '+':
    print(int(A) + int(B))
else:
    print(int(A) - int(B))

Submission status: Accepted

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

if op == "+":
  print(int(a)+int(b))
else:
  print(int(a)-int(b))

Submission status: Accepted

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

s = input()

ans = eval(s)
print(ans)

Submission status: Accepted

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

print(A+B if op == "+" else A-B)

Submission status: Accepted

Solution code:
s=list(input().split())
a=int(s[0])
b=int(s[2])
if s[1]=='+':
  print(a+b)
else:
  print(a-b)

Submission status: Accepted

Solution code:
#ABC050A
A, op, B = list(input().split())
A = int(A)
B = int(B)

if (op == '+'): print(A+B)
else: print(A-B)

Submission status: Accepted

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

def main():
    s = input().strip()
    print(eval(s))


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
a,b,c=input().split()
a,c=int(a),int(c)
print(a+c if b=="+" else a-c)

Submission status: Accepted

Solution code:
A,op,B = input().split()
A = int(A)
B = int(B)
if op == '+':
    print(A+B)
else:
    print(A-B)

Submission status: Accepted

Solution code:
a,op,b=map(str,input().split())
if op=="+":
  print(int(a)+int(b))
elif op=="-":
  print(int(a)-int(b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = list(map(str, input().split()))
print(int(a[0]) +int(a[2]) if a[1] == '+' else int(a[0]) -int(a[2]))

Submission status: Accepted

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

if op == "+":
    print(A+B)
elif op == "-":
    print(A-B)

Submission status: Accepted

Solution code:
A,op,B = input().split()
A = int(A)
B = int(B)
if op == '+':
    print(A+B)
else:
    print(A-B)

Submission status: Accepted

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

operation = {'+': lambda a, b: a + b, '-': lambda a, b: a - b}

print(operation[op](int(a), int(b)))

Submission status: Accepted

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

if op=='+':
    print(int(A)+int(B))
elif op=='-':
    print(int(A)-int(B))

Submission status: Accepted

Solution code:
a,b,c=input().split();print(int(a)+int(c)if b=='+'else int(a)-int(c))

Submission status: Accepted

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

if a[1] == '+':
  print (int(a[0]) + int(a[2]))
else:
  print (int(a[0]) - int(a[2]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import*
a,b,c = map (str,input().split())
a,c=int(a),int(c)
if b=="+":
   ans=a+c
   print(ans)
else:
   ans=a-c
   print(ans)

Submission status: Accepted

Solution code:
a,op,b=input().split()
a=int(a)
b=int(b)
if op=="+":
  print(a+b)
else:
  print(a-b)

Submission status: Accepted

Solution code:
A, op, B = map(str, input().split())
if op == '+':
    print(int(A) + int(B))
else:
    print(int(A) - int(B))

Submission status: Accepted

Solution code:
a,b,c=list(input().split())
if b=="+":
        print(int(a)+int(c))
else:
        print(int(a)-int(c))

Submission status: Accepted

Solution code:
s=input()
s=s.split(" ")
a=s[0]
b=s[1]+s[2]
print(int(a)+int(b))

Submission status: Accepted

Solution code:
a,op,b =(input().split())
print(int(a) + int(b) if op == '+' else int(a) - int(b))

Submission status: Accepted

Solution code:
a = input()
left, op, right = a.split(" ")

if op == '-':
    print(int(left) - int(right))
else:
    print(int(left) + int(right))

Submission status: Accepted

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

if s[1] == "+":
  ans = int(s[0]) + int(s[2])
  print(ans)
  
else:
  ans = int(s[0]) - int(s[2])
  print(ans)

Submission status: Accepted

Solution code:
N = input()
print(eval(N))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

stdin = sys.stdin
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

a, op, b = input().split()
print(eval(a + op + b))

Submission status: Accepted

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


if(s=='+'):
    print(int(a)+int(b))
else:
    print(int(a)-int(b))

Submission status: Accepted

Solution code:
a, b, c = input().split()
if b == "+":
    print(int(a)+int(c))
elif b == "-":
    print(int(a)-int(c))

Submission status: Accepted

Solution code:
a, op, b = input().split()
if op == "+": print(int(a)+int(b))
else: print(int(a)-int(b))

Submission status: Accepted

Solution code:
a,b,c=input().split()
if b == '+':
  print(int(a)+int(c)) #str->int
else:
  print(int(a)-int(c))

Submission status: Accepted

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

if op=='+':
  print(int(a)+int(b))
else:
  print(int(a)-int(b))

Submission status: Accepted

Solution code:
argv = list(input().split())
print(int(argv[0])+int(argv[2])) if argv[1] == '+' else print(int(argv[0])-int(argv[2]))

Submission status: Accepted

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

    if op == "+": return A +B
    else: return A - B 
if __name__ == '__main__':
    print(main())

Submission status: Accepted

Solution code:
a,op,b=input().split()
if op == '+':
  print(int(a)+int(b))
else:
  print(int(a)-int(b))

Submission status: Accepted

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

A=int(A)
B=int(B)
if op=='+':
  print(A+B)
else:
  print(A-B)

Submission status: Accepted

Solution code:
a,op,b = input().split()
if op=="+":
	print(int(a) + int(b))
elif op=="-":
	print(int(a) - int(b))

Submission status: Accepted

Solution code:
s = list((input().split()))

if s[1] =='+':
  ans = int(s[0]) + int(s[2])
elif s[1] =='-':
  ans = int(s[0]) - int(s[2])

print(ans)

Submission status: Accepted

Solution code:
a,op,b = input().split()
if op =="+":
  print(int(a)+int(b))
else:
  print(int(a)-int(b))

Submission status: Accepted

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

if op == '+':
    ans =int(A) + int(B)
else:
    ans =int(A) - int(B)

print(ans)

Submission status: Accepted

Solution code:
A, op, B = (i for i in input().split())
print(int(A) + int(B) if op == '+' else int(A) - int(B))

Submission status: Accepted

Solution code:
a, b, c = input().split()
if b == '+':
  print(int(int(a) + int(c)))
else:
  print(int(int(a) - int(c)))

Submission status: Accepted

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

if o=="+":
  print(int(A)+int(B))
else:
  print(int(A)-int(B))

Submission status: Accepted

Solution code:
#
# author: MahfuzAhmed
# created: 24.08.2019
#

a, x, b = input().split()

a = int(a)
b = int(b)

if x == '+':
    print(a+b)
else:
    print(a-b)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b,c=input().split()
a=int(a)
c=int(c)
if b=='+':
  print(a+c)
else:
  print(a-c)

Submission status: Accepted

Solution code:
print(eval(str(input())))

Submission status: Accepted

Solution code:
print (eval(input()))

Submission status: Accepted

Solution code:
A,op,B = input().split()
if op=="+":
    print(int(A)+int(B))
else:
    print(int(A)-int(B))

Submission status: Accepted

Solution code:
a, o, b = input().split()
if o == "+":
  print(int(a)+int(b))
else:
  print(int(a)-int(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, heapify
import math
import itertools
import random
 
# NO, PAY-PAY
#import numpy as np
#import statistics
#from statistics import mean, median,variance,stdev
 
INF = float('inf')
def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))
 
def main():
    tmp = input().split()
    #print(tmp)
    A = int(tmp[0])
    B = int(tmp[2])
    
    if tmp[1] == "+":
        print(A+B)
    else:
        print(A-B)
    
if __name__ == "__main__":
	main()

Submission status: Accepted

Solution code:
line = input().split()
if line[1]=="+":
    print(int(line[0])+int(line[2]))
else:
    print(int(line[0])-int(line[2]))

Submission status: Accepted

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

if op == '+':
    print(A+B)
else:
    print(A-B)

Submission status: Accepted

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

if op == "+":
  print(int(A)+int(B))
else:
  print(int(A)-int(B))

Submission status: Accepted

Solution code:
a,op,b = input().split()
a = int(a)
b = int(b)
if op == '-':
    print(a - b)
else:
    print(a + b)

Submission status: Accepted

Solution code:
a = input().split()
if a[1] == "+":
    print(int(a[0])+int(a[2]))
else:
    print(int(a[0])-int(a[2]))

Submission status: Accepted

Solution code:
A, op, B = input().split()
A,B = int(A),int(B)
print(A+B if op=='+' else A-B)

Submission status: Accepted

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

a = int(a)
b = int(b)

if op == "+":
  print(a + b)
else: 
  print(a - b)

Submission status: Accepted

Solution code:
a,b,c= input().split()
if b=="+":
  print(int(a)+int(c))
else:
  print(int(a)-int(c))

Submission status: Accepted

Solution code:
(a,b,c) = input().split()
if b=="+":
  print(int(a)+int(c))
else:
  print(int(a)-int(c))

Submission status: Accepted

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

print(a + b if op == "+" else a - b)

Submission status: Accepted

Solution code:
def test():
    a,op,b = input().split()
    print(int(a)+int(b) if op == "+" else int(a)-int(b))


if __name__ == "__main__":
    test()

Submission status: Accepted

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

A=int(A)
B=int(B)
out=0

if op is '+':
    out=A+B
elif op is '-':
    out=A-B
    
else:
    exit

print(out)

Submission status: Accepted

Solution code:
sA, op, sB = input().split()
A, B = int(sA), int(sB)
if op == "+":
  r = A+B
if op == "-":
  r = A-B
print(r)

Submission status: Accepted

Solution code:
a,op,b=input().split()
a=int(a)
b=int(b)
print(a+b if op=="+" else a-b)

Submission status: Accepted

Solution code:
a, b, c = map(str, input().split())
a = int(a)
c = int(c)
if b == "+":
  print(a + c)
else:
  print(a - c)

Submission status: Accepted

Solution code:
a, b, c = input().split()
print(int(a) + int(c) if b == "+" else int(a) - int(c))

Submission status: Accepted

Solution code:
a,b,c=input().split();print(int(a)+int(c)if b=='+'else int(a)-int(c))

Submission status: Accepted

Solution code:
a, op, b = input().split()
if op == '+':
    print(int(a) + int(b))
else:
    print(int(a) - int(b))

Submission status: Accepted

Solution code:
A,op,B=input().split()
A=int(A)
B=int(B)
print(A+B if op=="+" else A-B)

Submission status: Accepted

Solution code:
A, op, B = map(str, input().split())
if op == '+':
  print(int(A)+int(B))
else:
  print(int(A)-int(B))

Submission status: Accepted

Solution code:
a = input().split()
if a[1] == "+":
  print(int(a[0]) + int(a[2]))
else:
  print(int(a[0]) - int(a[2]))

Submission status: Accepted

Solution code:
A, op, B = input().split()
if op == "+":
  print(int(A) + int(B))
else:
  print(int(A) - int(B))

Submission status: Accepted

Solution code:
#!/usr/bin/env python
num_str = raw_input()
plus = True if '+' in num_str.split() else False
if plus:
	print(int(num_str.split()[0]) + int(num_str.split()[2]))
else:
	print(int(num_str.split()[0]) - int(num_str.split()[2]))

Submission status: Accepted

Solution code:
A, op, B = input().split()
print((int(A) + int(B)) if op == "+" else (int(A) - int(B)))