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 + 2

-----Sample Output-----
3

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

Difficulty: introductory

Starter code:

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


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

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

if op == "+":
    S = a + b
else:
    S = a - b

print(S)


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


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

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

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

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


# 入力
A, op, B = list(map(str, input().split()))

# +なら足す、-なら引く
if op == '+':
    print((int(A) + int(B)))
elif op == '-':
    print((int(A) - int(B)))


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

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

# A op Bという式の値を計算

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

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

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

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

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

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

print(ans)

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

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

s = input()

if '+' in s:
    index = s.index('+')
    print((int(s[:index])+int(s[index+1:])))
else:
    index = s.index('-')
    print((int(s[:index])-int(s[index+1:])))


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

# 050_a
A, op, B = input().split()
A = int(A)
B = int(B)
if (1 <= A & A <= 10 ** 9) & (1 <= B & B <= 10 ** 9) & ((op == '+') | (op == '-')):
    if op == '+':
        result = A + B
    elif op == '-':
        result = A - B
    print(result)

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

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

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

s = list(input().split())
print(eval("".join(s)))

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

# joisinoお姉ちゃんは、A op B という式の値を計算したいと思っています。
# ここで、A, Bは整数で、op は、+ または - の記号です。
# あなたの仕事は、joisinoお姉ちゃんの代わりにこれを求めるプログラムを作ることです。

# 制約
# 1 ≦ A, B ≦ 1000000000
# op は、+ または - の記号である。

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

input_a = int(a)
input_b = int(b)

# opに従い、計算して出力する
result = 0
if op == "+":
    result = input_a + input_b
elif op == "-":
    result = input_a - input_b
else:
    result = "Error"

print(result)


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

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

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

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

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


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

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

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

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

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

#50
data= list(input().split())
if data[1]=='+':
    print(int(data[0])+int(data[2]))
elif data[1]=='-':
    print(int(data[0])-int(data[2]))

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

s, o, t = input().split()
if o == '+':
    a = int(s) + int(t)
else:
    a = int(s) - int(t)
print(a) 

# 数値と符号の取得
A,op,B = map(str,input().split())

# 計算して出力
calc = eval(A + op + B)
print(int(calc))

A, op, B = input().split()
A = int(A)
B = int(B)
print([A + B, A - B][op == '-'])

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

if op == "+":
    result = a + b
else:
    result = a - b

print(result)

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

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

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

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

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

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

def calculate(a, b, op):
    if op == '+':
        return a + b
    else:
        return a - b


lst = list(map(str, input().split()))
print(calculate(int(lst[0]), int(lst[2]), lst[1]))

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

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

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

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

L = list(map(str, input().split()))

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


def iroha():
    a, op, b = list(map(str, input().split()))
    a = int(a)
    b = int(b)

    if op == "+":
        result = a + b
    else:
        result = a - b

    print(result)




def __starting_point():
    iroha()


__starting_point()

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

#!/usr/bin/env python3
a,op,b=input().split()
if op=="+":
    print(int(a)+int(b))
else:
    print(int(a)-int(b))

A,c,B=input().split()
A=int(A)
B=int(B)
if c=="+":
  print((A+B))
elif c=="-":
  print((A-B))
  


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


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

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

'''
ABC050 A - Addition and Subtraction Easy
https://atcoder.jp/contests/abc050/tasks/abc050_a
'''
def main():
    a, op, b = input().split()
    a, b = int(a), int(b)

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


main()


a = list(input().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]))


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

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


# 入力
A, op, B = map(str,input().split())

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

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


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

'''
ABC050 A - Addition and Subtraction Easy
https://atcoder.jp/contests/abc050/tasks/abc050_a
'''
def main():
    a, op, b = input().split()
    a, b = int(a), int(b)

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

def __starting_point():
    main()

__starting_point()

S_list = list(input().split())

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


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

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

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


# A - Addition and Subtraction Easy
# https://atcoder.jp/contests/abc050/tasks/abc050_a

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

result = eval(a + op + b)

print((int(result)))


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

a = input().split()


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

else:
  print((int(a[0])-int(a[2])))


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

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

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

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

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

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

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

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

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

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

# 入力
A, op, B = input().split()
A, B = int(A), int(B)

# 処理
if op == '+':
    S = A + B
else:
    S = A - B
# 出力
print(S)

print(eval("".join(list(input().split()))))

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

# 入力
A, op, B = input().split()

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

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



'''
ABC050 A - Addition and Subtraction Easy
https://atcoder.jp/contests/abc050/tasks/abc050_a
'''
a, op, b = input().split()
a, b = int(a), int(b)

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


# A - Addition and Subtraction Easy

# A, op, B の入力を受け取り、演算結果を出力する


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

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


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

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

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

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

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

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