EasyRating 800
Fewest Banknotes
Pay exactly n taka using notes of 100, 20, 10, 5 and 1 taka. Print the fewest notes.
Input
One integer n (1 ≤ n ≤ 10⁹).
Output
The number of notes.
Sample 1
Input
125
Output
3
Sample 2
Input
43
Output
5
Output appears here