#abc192a. [abc192_a]Star
[abc192_a]Star
Problem Statement
Takahashi is playing a game.
In this game, each time the number of coins you have collected so far becomes a multiple of , you get a prize.
Takahashi has collected coins so far. How many more coins does he need to collect before he gets the next prize? (If is a multiple of , we assume that he has already got the prize for collecting coins in total.)
Constraints
Input
Input is given from Standard Input in the following format:
Output
Print the number of additional coins that he needs to collect before he gets the next prize.
Sample Input 1
140
Sample Output 1
60
He gets the next prize when he has collected coins in total. To get it, he needs to collect more coins.
Sample Input 2
1000
Sample Output 2
100
He gets the next prize when he has collected coins in total.