100500: [AtCoder]ABC050 A - Addition and Subtraction Easy

Memory Limit:256 MB Time Limit:2 S
Judge Style:Text Compare Creator:
Submit:1 Solved:0

Description

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

Input

题意翻译

### **题目描述** #### 读入a,b,x,如果x='+'就输出a+b,否则输出a-b(注意:a和x之间有一个空格,x和b之间有一个空格!!)。 ### **输入格式** ``` a,空格,x,空格,b ``` ### **输出格式** #### a+b或a-b。 ### **输入样例1** ``` 1 + 2 ``` ### **输出样例1** ``` 3 ``` ### **输出样例2** ``` 5 - 7 ``` ### **输出样例2** ``` -2 ```

加入题单

上一题 下一题 算法标签: