Pinkie Pie's Cupcakes
Output: Standard Output (stdout)
Memory limit: 10 megabytes
Time limit: 1.0 seconds
Pinkie Pie has too many cupcakes. So many, in fact, that she doesn't know how many there are!
Fortunately, she does know how many she started with, how many were eaten (yum!), and how many she had baked in the mean time. With your help, we can calculate how many she has now!
Input will consist of a single line with three space separated non-negative integers:
S (0 \leq S \leq 10^6), the number of cupcakes at the beginning of the day,
I (0 \leq I \leq 10^6), the number of new cupcakes baked,
and R (0 \leq R \leq S + I), the number of cupcakes eaten.
Output a single integer, the number of cupcakes left at the end of the day.
Sample Input 1
5 4 3
Sample Output 1