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:
input1 = raw_input()

split_input = input1.split()

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    # A op B
    exp = input()
    a, op, b = exp.split(' ')
    a = int(a)
    b = int(b)
    
    if op == '+':
        ans = a + b
    elif op == '-':
        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()
if b == "+":
  print(int(a)+int(c))
else:
  print(int(a)-int(c))

Submission status: Accepted

Solution code:
# A - Addition and Subtraction Easy
a,op,b=input().split()
print(eval(a+op+b))

Submission status: Accepted

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

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

Submission status: Accepted

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

l = input()

print(eval(l))

Submission status: Accepted

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

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:
op = ['-','+']
line = input().split(' ')
s = 1
if line[1] == op[0]:
  s = -1
print(int(line[0])+(int(line[2])*s))

Submission status: Accepted

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

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

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 = map(int, (a, 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 == "+":
    ans = a+b
else:
    ans = a-b
print(ans)

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:
input1 = input().split()
A = int(input1[0])
op = input1[1]
B = int(input1[2])
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:
import sys
readline = sys.stdin.buffer.readline

a,op,b = readline().rstrip().decode('utf-8').split()

class Input():
    def __init__(self,a,op,c):
        self.a = int(a)
        self.b = int(b)
        self.op = op

class Calc(Input):
    def __call__(self):
        if self.op == "+":
            return self.a+self.b
        else:
            return self.a-self.b

x = Calc(a,op,b)
print(x())

Submission status: Accepted

Solution code:
a, x, b = input().split()
print(eval(a + x + 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 == '+':
    result = int(A)+int(B)
else:
    result = int(A)-int(B)
    
print(result)

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

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

if op == '+':
    ans = A+B
else:
    ans = A-B

print(ans)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

from os import sys

line = sys.stdin.readline().split(" ")

if  line[1] == "+" :
  print(int(line[0])+int(line[2]))
else:
  print(int(line[0])-int(line[2]))
  
#test test test

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,B,C = [str(i) for i in input().split()]

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

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:
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()
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[2]))

Submission status: Accepted

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


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

Submission status: Accepted

Solution code:
#ABC050 A

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

Submission status: Accepted

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

A = input()

print(eval(A))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num1, op, num2 = input().split()

if op == "+":
    print(int(num1) + int(num2))
elif op == "-":
    print(int(num1) - int(num2))

Submission status: Accepted

Solution code:
a,op,b = input().split()
d = {'+': 1, '-': -1}
print(int(a) + d[op] * 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 = list(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))
else:
    print(int(a)-int(b))

Submission status: Accepted

Solution code:
a,b,c=input().split()
print(eval("{}{}{}".format(a,b,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:
# AtCoder Beginner Contest 050
# A - Addition and Subtraction Easy
l = input().split()
A = int(l[0])
op = str(l[1])
B = int(l[2])
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)
print(A+B if op=='+' else A-B)

Submission status: Accepted

Solution code:
# 入力　数字と記号
AopB = input().split()
A = int(AopB[0])
B = int(AopB[2])
op = AopB[1]

#出力　計算結果
if op == "+" :
    C = A + B
else :
    C = A - B

print(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=int(A)
b=int(B)

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

Submission status: Accepted

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

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

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

if a[1] == "+":
    print(int(a[0]) + int(a[2]))
elif a[1] == "-":
    print(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)
else :
    print(A-B)

Submission status: Accepted

Solution code:
"""
author : halo2halo
date : 2, Feb, 2020
"""

import sys
import itertools

import numpy as np

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

S=readline().decode('utf8')
print(eval(S))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
"""
author : halo2halo
date : 3, Feb, 2020
"""

import sys
import itertools

import numpy as np

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

A, op, B = readline().decode('utf8').split()
print(int(A) + int(B) if op == '+' else int(A) - int(B))

Submission status: Accepted

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


def main():
    A, OP, B = input().split()
    print(int(A) + int(B) if OP == '+' else int(A) - int(B))


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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


def solve(A: int, op: str, B: int):
    if op == "+":
        print(A+B)
    else:
        print(A-B)
    return


def main():

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    from sys import stdin, setrecursionlimit
    #setrecursionlimit(10**9)
    #n = int(stdin.readline()[:-1])   
    r = stdin.readline()[:-1]
    #r = [stdin.readline() for i in range(n)]
    #t = [int(stdin.readline()) for i in range(n)]
    #n = int(r)
    #a = r.split()
    a,b,c = r.split()
    #a = list(map(int, r.split()))
    #a,b,c,d = map(int, r.split())
    #a = [int(s[i]) for i in range(1, n+1)]
    #a = [list(map(int, r.split())) for i in range(1,n+1)]
    #res = 0

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

if __name__ == '__main__':
    main()

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 = map(str, input().split())

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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 = 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 = 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))
if op=="-":
	print(int(A) - int(B))
else:
  	print("")

Submission status: Accepted

Solution code:
# AtCoder Beginner Contest 050 - A
# -*- encoding: UTF-8 -*-
a_str,op,b_str = input().split()

a = int(a_str)
b = int(b_str)

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(map(str,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=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()
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)


func = (lambda x,y:x+y) if op =="+" else (lambda x,y:x-y)
print(func(a,b))

Submission status: Accepted

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

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

Submission status: Accepted

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

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

print(eval(S))

Submission status: Accepted

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

Submission status: Accepted

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

print(eval(a+op+b))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if op=='+':
  print(x+y)
else:
  print(x-y)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
st=input()
print(eval(st))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
for input_row in sys.stdin:
    val1, op, val2 = input_row.split(" ")
    if op == "+":
        print(int(val1) + int(val2))
    else:
        print(int(val1) - int(val2))

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:
import math
import queue
import bisect
import heapq
import time
import itertools

mod = int(1e9+7)

def swap(a,b):
    return (b,a)

def gcd(a,b): #最大公約数
    if (a<b):
        a,b = swap(a,b)
    if (b==0):
        return a
    else:
        return gcd(b,a%b)

def divisors(a): # 約数列挙
    divisors = []
    for i in range(1,int(a**0.5)+1):
        if a%i==0:
            divisors.append(i)
            if i!=a//i:
                divisors.append(a//i)
    return divisors

def is_prime(a): #素数判定
    if a<2:
        return False
    elif a==2:
        return True
    elif a%2==0:
        return False
    sqrt_num = int(a**0.5)
    for i in range(3,sqrt_num+1,2):
        if a%i==0:
            return False
    return True

def prime_num(a): #素数列挙
    pn = [2]
    for i in range(3,int(a**0.5),2):
        prime = True
        for j in pn:
            if i%j==0:
                prime = False
                break
        if prime:
            pn.append(i)
    return pn

def main():
    a,op,b = input().split()
    if op=='+':
        print(int(a)+int(b))
    else:
        print(int(a)-int(b))
    return

if __name__=='__main__':
    main()

Submission status: Accepted

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

print(a1+b1 if op=='+' else a1-b1)

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:
# -*- coding: utf-8 -*-S
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:
#!/usr/bin/env python3
import sys, math, itertools, collections, bisect
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
inf = float('inf')
ans = 0 ;count = 0 ;pro = 1

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

a, op, b = map(str, sys.stdin.readline().split())

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

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

Submission status: Accepted

Solution code:
import sys

formula = sys.stdin.readline().rstrip()

def main():
    return eval(formula)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A, op, B = input().split()
if str(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:
data = input().split()
if data[1] == "+":
    print(int(data[0])+int(data[2]))
else:
    print(int(data[0])-int(data[2]))

Submission status: Accepted

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

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:
x= input()

print(eval(x))

Submission status: Accepted

Solution code:
num_a,op,num_b = input().split()
a = int(num_a)
b = int(num_b)
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:
li = list(input().split())

if li[1] == "+":
    print(int(li[0]) + int(li[2]))
else:
    print(int(li[0]) - int(li[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:
a, op, b = open(0).read().split()
print(eval(a + op + b))

Submission status: Accepted

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

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

print(ans)

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:
expression = input().split()

A = int(expression[0])
op = expression[1]
B = int(expression[2])

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

Submission status: Accepted

Solution code:
from sys import stdin

a,b,c = [x for x in stdin.readline().rstrip().split()]

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

Submission status: Accepted

Solution code:
[a,op,b]=list(input().split())
siki=a+op+b
print(eval(siki))

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:
# ABC050a
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**6)

print(eval(input()[:-1]))

Submission status: Accepted

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

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