100 atcoder#ABC072A. [ABC072A] Sandglass2
[ABC072A] Sandglass2
Score : points
Problem Statement
We have a sandglass that runs for seconds. The sand drops from the upper bulb at a rate of gram per second. That is, the upper bulb initially contains grams of sand.
How many grams of sand will the upper bulb contains after seconds?
Constraints
- and are integers.
Input
The input is given from Standard Input in the following format:
Output
Print the number of sand in the upper bulb after second.
100 17
83
out of the initial grams of sand will be consumed, resulting in grams.
48 58
0
All grams of sand will be gone, resulting in grams.
1000000000 1000000000
0