In the ATM, there are sufficient banknotes with denominations of , and hryvnias. Find the minimum number of banknotes needed to dispense the amount of hryvnias.
One integer .
Print the minimum number of banknotes needed to dispense hryvnias. Print if the specified amount cannot be dispensed.
The sum of hryvnia can be dispensed as follows: .