Strawberry Basket

Problem Statement
Strawberries are healthy fruits full of antioxidants and vitamin C.
You have a basket with T Strawberries and want to make a simple program that will print the current count of Strawberries in the basket if you remove X Strawberries and add back Y Strawberries.
Constraints
T, X and Y are integers from 1 to 50.
T is the number of Strawberries in the basket.
X is the number of Strawberries you removed from the basket.
Y is the number of Strawberries you added back into the basket.
Input
Input is in the following format:
T
X
Y
Output
Print the total number of Strawberries remaining in the basket.
Samples
Sample 1
| Input | Output |
|---|---|
| 10 5 1 |
6 |
Sample 2
| Input | Output |
|---|---|
| 2 2 0 |
0 |
Sample 3
| Input | Output |
|---|---|
| 9 4 2 |
7 |
Comments