P24057 [AtCoder] box
入门
题目描述

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?

Input

Input is given from Standard Input in the following format:
N A B

Output

Print the answer as an integer.

Constraints

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

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

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
100 1 2
样例输出
101