AtCoder Beginner Contest 180
A
box
AtCoder
⌀ 0
原题
←B →
翻译中…

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.

翻译中…

样例

Input #1
100 1 2
Output #1
101
The box contained $100$ balls. After removing $1$ ball and putting $2$ new balls, it now contains $101$ balls.
Input #2
100 2 1
Output #2
99
Input #3
100 1 1
Output #3
100
题目信息
题号
abc180_a
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。