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 = 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))
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:
def execute(a, op, b):
    return eval(a + op + b)


if __name__ == '__main__':
    a, op, b = input().split()
    print(execute(a, op, 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 = 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()
#print(a, op, b)

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l = list(input().split())
a = int(l[0])
b = int(l[2])
if l[1] == '+':
    print(a + b)
else:
    print(a - 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,op,b=input().split()
a,b=map(int,[a,b])
if op=='+':
    s=a+b
else:
    s=a-b
print(s)

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, 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:
a,op,b=map(str,input().split())
print(eval(a+op+b))

Submission status: Accepted

Solution code:
s, op, b = input().split()
if op == '+':
	print(int(s) + int(b))
else:
	print(int(s) - 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))
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:
str_a, str_op, str_b = input().split()

if str_op == "+":
    print(int(str_a) + int(str_b))
else:
    print(int(str_a) - int(str_b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A ,op ,B = input().strip().split(' ')
A ,op ,B = [int(A), str(op), 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:
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=[i for i 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:
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=input()
a,op,b=s.split(' ')
a=int(a)
b=int(b)
print(a+b if op=="+" else 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:
astr, op, bstr = input().split()
a = int(astr)
b = int(bstr)
if op == '+':
	print(a + b)
elif op == '-':
	print(a - b)

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
from statistics import mean, median,variance,stdev
import sys
import math

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

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
A,op,B = map(str,input().split())
S,T=int(A),int(B)
if op == "+":
  print(S+T)
else:
  print(S-T)

Submission status: Accepted

Solution code:
import sys
import collections
import itertools
import math
import re
from collections import deque

# MOD = 10 ** 9 + 7

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


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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
ans = eval(S)
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, op, B = [_ for _ in 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=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,o,b = input().split()
print(int(a) + int(o+b))

Submission status: Accepted

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

Submission status: Accepted

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

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

print(result)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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 = map(str, input().split())
a = int(a)
b = int(b)
if op == '+':
    result = a + b
elif op == '-':
    result = a - b

print("{}".format(result))

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=input().strip().split(" ")

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


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S1, S2, S3 = input().split()

if S2 == '+':
    print(int(S1) + int(S3))
else:
    print(int(S1) - int(S3))

Submission status: Accepted

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

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print input()

Submission status: Accepted

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

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,p,b=list(input().split())
a=int(a)
b=int(b)
if p=="+":
    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)
elif op=='-':
    print(a-b)

Submission status: Accepted

Solution code:
A, op, B = list(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=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())

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

Submission status: Accepted

Solution code:
*a,=map(str,input().split())
print(eval(a[0]+a[1]+a[2]))

Submission status: Accepted

Solution code:
#! /usr/bin/python3
# Addition and Subtraction Easy

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

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

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

Submission status: Accepted

Solution code:
#! /usr/bin/python3
# Addition and Subtraction Easy

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

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

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:
li = input().split()
a = int(li[0])
b = int(li[2])

if li[1] == '+':
    print(a + b)
elif li[1] == '-':
    print(a - b)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# python
my_input = str(input())
print(str(eval(my_input)))

Submission status: Accepted

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

print(output)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 入力
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),int(a)-int(c)][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()
print(eval(a))

Submission status: Accepted

Solution code:
#coding: utf-8
print(eval(input()))

Submission status: Accepted

Solution code:
S=list(input().split())
if S[1]=="+":
    print(int(S[0])+int(S[2]))
elif S[1]=="-":
    print(int(S[0])-int(S[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:
s = input().split()
a = int(s[0])
op = s[1]
b = int(s[2])
if op == '+':
    print(a + b)
else:
    print(a - b)

Submission status: Accepted

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


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


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


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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
aa, op, bb = map(str, input().split())

a = int(aa)
b = int(bb)

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

else:
    print(a - b)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,p,b=input().split()
a,b=int(a),int(b)
print(eval('{}{}{}'.format(a,p,b)))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input();
print(a);

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a = list(map(str,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))
if op == '-':
    print(int(a) - int(b))

Submission status: Accepted

Solution code:
A=list(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, p, B = input().split()

if p == "+":
  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:
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 python3
# -*- coding: utf-8 -*-
s= input().split()
a=int(s[0])
op=s[1]
b=int(s[2])
if op=='+':
  print(a+b)
else:
  print(a-b)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x,y,z=input().split()
#print(y)
#print(int(x) y int(z))
if y=="+":
    print(int(x)+int(z))
else:
    print(int(x)-int(z))

Submission status: Accepted

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

Submission status: Accepted

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

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

if __name__ == '__main__':
    main()

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 = (str(_) for _ in input().split())
print(int(a)+int(b)) if op == '+' else print(int(a)-int(b))

Submission status: Accepted

Solution code:
#A
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, sign, b = input().split(' ')

if sign == '+':
    print(int(a)+int(b))
elif sign == '-':
    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=list(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:
#50a
#eval() 文字列をスクリプトとして実行
print(eval(input()))

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())
if op == "+":
    print(int(a)+int(b))
elif op == "-":
    print(int(a)-int(b))

Submission status: Accepted

Solution code:
# input
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:
s = input().split()

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

if s[1] == '+':
    ans = a + b
elif s[1] == '-':
    ans = a - 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=input().split()
print(eval(a+b+c))

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, b = int(a), int(b)

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

Submission status: Accepted

Solution code:
write = input().split()
print(int(write[0])+int(write[2]) if write[1]=="+" else int(write[0])-int(write[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:
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:
ary = [x for x in input().split()]
a = int(ary[0])
b = int(ary[2])
if ary[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 = raw_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())

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

Submission status: Accepted

Solution code:
a, op, b = [i for i in 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:
def main():
    x = input()
    print(eval(x))

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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 = 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())
a = int(a)
b = str(b)
c = int(c)
if b == "+":
    print(a+c)
elif b == "-":
    print(a-c)

Submission status: Accepted

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

Submission status: Accepted

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

s = input()

print(eval(s))

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:
s=input().split()
A=int(s[0])
op=s[1]
B=int(s[2])
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,b,c=input().split()
if b=='+':print(int(a)+int(c))
else:print(int(a)-int(c))

Submission status: Accepted

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

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 = input().split()
a = int(a)
b = int(b)
print(a+b if op=="+" else a-b)

Submission status: Accepted

Solution code:
parameter = input().split(" ")
a = int(parameter[0])
b = int(parameter[2])
if parameter[1] == "+":
    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=="+":
    ans=a+b
else:
    ans=a-b
print(ans)

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 = input().split()
A,B = int(a),int(b)
if op == '+':
    print('{}'.format(A+B))
else:
    print('{}'.format(A-B))

Submission status: Accepted

Solution code:
s = input()
s = s.split()
#print(s)
s1 = int(s[0])
s2 = int(s[2])

if (s[1] == "+"):
  print(s1 + s2)
else:
  print(s1 - s2)

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 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,b,c = list(map(str,input().split()))
a = int(a)
c = int(c)

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

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

Submission status: Accepted

Solution code:
from sys import stdin

A, op, B = stdin.readline().rstrip().split()
A = int(A)
B = int(B)
if op == '+':
    print(A + B)
if op == '-':
    print(A - B)

Submission status: Accepted

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

Submission status: Accepted

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

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,o,B=input().split()
A, B = map(int, [A, B])
if o=='+':
    ans = A+B
else:
    ans = A-B
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
ina,inx,inb = input().split()
if inx == "+":
  print(int(ina) + int(inb))
else:
  print(int(ina) - int(inb))

Submission status: Accepted

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

A,B=int(N[0]),int(N[2])

if N[1]=="+": print(A+B)
else: print(A-B)

Submission status: Accepted

Solution code:
a = list(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:
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:
# -*- coding: utf-8 -*-

# AtCoder Beginner Contest
# Problem A

if __name__ == '__main__':
    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 == '+':
    print(int(a) + int(b))
else:
    print(int(a) - int(b))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math
import sys

def getinputdata():

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

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

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

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

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

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


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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
A,O,B = map(str,input().split())
if O=="+":
    ans=int(A)+int(B)
elif O=="-":
    ans=int(A)-int(B)
print(ans)

Submission status: Accepted

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

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

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 = ns().split()
if op == "+":
    print(int(a) + int(b))
if op == "-":
    print(int(a) - int(b))

Submission status: Accepted

Solution code:
A, op, B = input().split()
print(eval('{}{}{}'.format(A, op, B)))

Submission status: Accepted

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

Submission status: Accepted

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

if op == '+':
    print(a + b)
elif op == '-':
    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:
a,o,b=map(str,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:
a = raw_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:
l = input().split()
A = int(l[0])
B = int(l[2])
print(A+B if l[1]== '+' else A-B)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
F = input().strip()
print(eval(F))

Submission status: Accepted

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

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