A - Addition and Subtraction Easy Editorial /

Time Limit: 2 sec / Memory Limit: 256 MiB

配点 : 100100

問題文

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

制約

  • 1A,B1091≦A,B≦10^9
  • opop は、+ または - の記号である。

入力

入力は以下の形式で標準入力から与えられる。

AA opop BB

出力

式の値を出力せよ。


入力例 1Copy

Copy
1 + 2

出力例 1Copy

Copy
3

1+2=31 + 2 = 3 なので 33 を出力します。


入力例 2Copy

Copy
5 - 7

出力例 2Copy

Copy
-2

Score : 100100 points

Problem Statement

Joisino wants to evaluate the formula "AA opop BB". Here, AA and BB are integers, and the binary operator opop is either + or -. Your task is to evaluate the formula instead of her.

Constraints

  • 1A,B1091≦A,B≦10^9
  • opop is either + or -.

Input

The input is given from Standard Input in the following format:

AA opop BB

Output

Evaluate the formula and print the result.


Sample Input 1Copy

Copy
1 + 2

Sample Output 1Copy

Copy
3

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


Sample Input 2Copy

Copy
5 - 7

Sample Output 2Copy

Copy
-2


2025-06-18 (Wed)
23:36:38 +00:00