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

Submission status: Accepted

Solution code:
a,op,b=list(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 == '+' :
    s = int(a) + int(b)
else:
    s = int(a) - int(b)
print(int(s))

Submission status: Accepted

Solution code:
# スペース区切りの整数の入力(定数)
list_num = [num for num in input().split()]

#　計算と出力
if list_num[1] == "+" :
    print(int(list_num[0])+int(list_num[2]))
else :
    print(int(list_num[0])-int(list_num[2]))

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

print(ans)

Submission status: Accepted

Solution code:
s=input();f='+'in s;a,b=map(int,s.split('-+'[f]));print(a+b if f else a-b)

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

Submission status: Accepted

Solution code:
b, op, c = input().split()
if(op == "+"):
    print(int(b) + int(c))
else:
    print(int(b) - 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:
li = input().split()
one = int(li[0])
two = int(li[2])
if li[1] == "+":
	print(one + two)
else:
	print(one - two)

Submission status: Accepted

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

Submission status: Accepted

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

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


if __name__ == '__main__': 
    A, op, B = input().split()

    solve(A, op, 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 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(int(a+b))
else:
    print(int(a-b))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#N = int(input())
#A = [int(x) for x in input().split()]
#a, b, c = map(int, input().split())
#name1 = str(input())
#alph = {"A": 1, "B": 2, "C": 3, "D": 4, "E": 5}
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 = 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)
c=int(c)
if b=="+":
    print(a+c)
else:
    print(a-c)

Submission status: Accepted

Solution code:
A,o,B = input().split(" ")
ans = int(A) + int(o+B)
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

A = int(mathod[0])
op = str(mathod[1])
B = int(mathod[2])
calc = 0

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

print(calc)

Submission status: Accepted

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


if __name__ == '__main__':
	main()

Submission status: Accepted

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

list = [int(c) if c.isdecimal() else c for c in list]

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

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:
def read_input():
    a, op, b = input().split()
    a = int(a)
    b = int(b)

    return op, a, b

def submit():
    op, a, b = read_input()

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


if __name__ == '__main__':
    submit()

Submission status: Accepted

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

print(eval(txt))

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

Submission status: Accepted

Solution code:
line=input()

line=line.split()

a=line[0]
op=line[1]
c=line[2]

a=int(a)
c=int(c)

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

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

Submission status: Accepted

Solution code:
import functools

import os
import sys

sys.setrecursionlimit(10000)
INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def inpm(line):
    return [inp() for _ in range(line)]


def inpfm(line):
    return [inpf() for _ in range(line)]


def inpsm(line):
    return [inps() for _ in range(line)]


def inlm(line):
    return [inl() for _ in range(line)]


def inlfm(line):
    return [inlf() for _ in range(line)]


def inlsm(line):
    return [inls() for _ in range(line)]


def Yesif(cond):
    print('Yes' if cond else 'No')


def YESIF(cond):
    print('YES' if cond else 'NO')


def yesif(cond):
    print('yes' if cond else 'no')


print(eval(input()))

Submission status: Accepted

Solution code:
import functools

import os
import sys

sys.setrecursionlimit(10000)
INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


def inl():
    return list(map(int, input().split()))


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def inpm(line):
    return [inp() for _ in range(line)]


def inpfm(line):
    return [inpf() for _ in range(line)]


def inpsm(line):
    return [inps() for _ in range(line)]


def inlm(line):
    return [inl() for _ in range(line)]


def inlfm(line):
    return [inlf() for _ in range(line)]


def inlsm(line):
    return [inls() for _ in range(line)]


def Yesif(cond):
    print('Yes' if cond else 'No')


def YESIF(cond):
    print('YES' if cond else 'NO')


def yesif(cond):
    print('yes' if cond else 'no')

a, o, b = inls()
if o=='+':
    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:
# ABC050A - Addition and Subtraction Easy
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:
# -*- 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:
n = input().split()
if n[1] == '+':
    print(int(n[0])+int(n[2]))
else:
    print(int(n[0])-int(n[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=input().split()
print(int(a[0])+int(a[2]) if a[1]=="+" else int(a[0])-int(a[2]))

Submission status: Accepted

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

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

Submission status: Accepted

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

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

def main():
    input = sys.stdin.readline
    A, op, B = map(str, input().strip().split())

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


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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys, os

f = lambda:list(map(int,input().split()))
if 'local' in os.environ :
    sys.stdin = open('./input.txt', 'r')

def solve():
    a, op, b = input().split()
    a = int(a)
    b = int(b)
    if op == '+':
        print(a+b)
    elif op == '-':
        print(a-b)

solve()

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

Submission status: Accepted

Solution code:
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits

def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
MOD = 10 ** 9 + 7

s = input()
print(eval(s))

Submission status: Accepted

Solution code:
s = input().split() #s_1 s_2を分割して取得し、sに値を入れる
a = int(s[0])
b = int(s[2])
if s[1] == '+':
  p = a + b
  print(p);
else:
  q = a - b
  print(q)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

a,b,c = map(str or int, input().split())

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

Submission status: Accepted

Solution code:
def addition_and_subtraction_easy(A: int, op: str, B: int)->int:
    return A+B if op == '+' else A-B


if __name__ == "__main__":
    A, op, B = input().split()
    ans = addition_and_subtraction_easy(int(A), op, int(B))
    print(ans)

Submission status: Accepted

Solution code:
from functools import reduce

def main():
    # 切り捨て
    # 4 // 3
    # 切り上げ
    #-(-4 // 3)
    
    # 初期値用:十分大きい数(100億)
    # 1e10

    # 初期値用:十分小さい数(-100億)
    # -1e10
    
    # 1文字のみを読み込み
    # 入力:2
    # a = input().rstrip()
    # 変数:a='2'
    
    # スペース区切りで標準入力を配列として読み込み
    # 入力:2 4 5 7
    # a, b, c, d = (int(_) for _ in input().split())  
    # 変数:a=2 b=4 c=5 d =7
    
    # 1文字ずつ標準入力を配列として読み込み
    # 入力:2 4 5 7
    # a = list(int(_) for _ in input().split())
    # 変数:a = [2, 4, 5, 7]    

    # 1文字ずつ標準入力を配列として読み込み
    # 入力:2457
    # a = list(int(_) for _ in input())
    # 変数:a = [2, 4, 5, 7]    
    a, b, c = (_ for _ in input().split())
    if b == '+':
        print(int(a)+int(c))
    else:
        print(int(a)-int(c))
    
if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

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, s, b = map(str, input().split())
a = int(a)
b = int(b)
if s == '+':
    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:
#!usr/bin/env python3
from collections import defaultdict
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS():return list(map(list, sys.stdin.readline().split()))
def S(): return list(sys.stdin.readline())[:-1]
def IR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = I()
    return l
def LIR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = LI()
    return l
def SR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = S()
    return l
def LSR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = SR()
    return l
mod = 1000000007

#A
print(eval(input()))
#B

#C
"""
n = I()
a = LI()
d = defaultdict(int)
for i in a:
    d[i] += 1
for i in d.items():
    if i[0] != 0 and i[1] == 1:
        print(0)
        quit()
    elif i[1] > 2:
        print(0)
        quit()
print(pow(2,n//2,mod))
"""

#D

#E

#F

#G

#H

#I

#J

#K

#L

#M

#N

#O

#P

#Q

#R

#S

#T

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,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,a-b][op=='-'])

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

Submission status: Accepted

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

Submission status: Accepted

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

if op == '+':
    calc = a + b
elif op == '-':
    calc = a - b

print(calc)

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

Submission status: Accepted

Solution code:
#50
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():
    print(eval(input()))


if __name__ == "__main__":
    main()

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

Submission status: Accepted

Solution code:
a=input().split()
b,c=int(a[0]),int(a[2])
if a[1]=="+":print(b+c)
else:print(b-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:
# coding: utf-8
print(eval(input()))

Submission status: Accepted

Solution code:
print(str(eval(''.join([str(x) for x in input().split(' ')]))))

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
A, op, B = [int(e) if e not in {"+", "-"} else e for e in input().split()]
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 = map(str, input().split())
d = int(a)
e = int(c)
if b=="+":
  print(d+e)
elif b=="-":
  print(d-e)

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

Submission status: Accepted

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


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

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

Submission status: Accepted

Solution code:
from sys import stdin
a, op, b = stdin.readline().rstrip().split()
if op == '+':
  print(int(a)+int(b))
else:
  print(int(a)-int(b))

Submission status: Accepted

Solution code:
def input_str():
    str = input()
    ret = eval(str)
    print(ret)
    return


if __name__ == '__main__':
    input_str()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
s = sys.stdin.readline()
print(eval(s))

Submission status: Accepted

Solution code:
# ABC 050 A - Addition and Subtraction Easy

A =list(map(str,input().split()))
if A[1][0]=="+":
    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)
if op == '+':
    print(a + b)
else:
    print(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()
if(op == '+'):
  print(int(A)+int(B))
else:
  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:
A, op, B = [ x for x in input().split() ]
A = int(A)
B = int(B)

ans = 0
if op == "+":
    ans = A + B
else:
    ans = A - B

print(ans)
print()

Submission status: Accepted

Solution code:
print eval(raw_input())

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

Submission status: Accepted

Solution code:
s = raw_input().split()
s[0] = int(s[0])
s[2] = int(s[2])

if s[1] == '+':
    print s[0]+s[2]
else:
    print s[0]-s[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,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().strip().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]))
else:
    print(int(a[0]) - int(a[2]))

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
""" AtCoder """

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