A - box Editorial /

Time Limit: 2 sec / Memory Limit: 1024 MB

配点 : 100

問題文

N 個のボールが入っていた箱から A 個のボールを取り出し、新たに B 個のボールを入れました。今、箱にはボールが何個入っていますか?

制約

  • 入力はすべて整数
  • 100 \leq N \leq 200
  • 1 \leq A,B \leq 100

入力

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

N A B

出力

答えを整数で出力せよ。


入力例 1

100 1 2

出力例 1

101

箱にはもともと 100 個のボールが入っていましたが 1 個のボールを取り出し、新たに 2 個のボールを入れたことで、今は 101 個のボールが入っています。


入力例 2

100 2 1

出力例 2

99

入力例 3

100 1 1

出力例 3

100

Score : 100 points

Problem Statement

We have removed A balls from a box that contained N balls and then put B new balls into that box. How many balls does the box contain now?

Constraints

  • All values in input are integers.
  • 100 \leq N \leq 200
  • 1 \leq A,B \leq 100

Input

Input is given from Standard Input in the following format:

N A B

Output

Print the answer as an integer.


Sample Input 1

100 1 2

Sample Output 1

101

The box contained 100 balls. After removing 1 ball and putting 2 new balls, it now contains 101 balls.


Sample Input 2

100 2 1

Sample Output 2

99

Sample Input 3

100 1 1

Sample Output 3

100