B. The number on the boardtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSome natural number was written on the board. Its sum of digits was not less than k. But you were distracted a bit, and someone changed this number to n, replacing some digits with others. It's known that the length of the number didn't change.You have to find the minimum number of digits in which these two numbers can differ.InputThe first line contains integer k (1 ≤ k ≤ 109).The second line contains integer n (1 ≤ n < 10100000).There are no leading zeros in n. It's guaranteed that this situation is possible.OutputPrint the minimum number of digits in which the initial number and n can differ.ExamplesInput311Output1Input399Output0NoteIn the first example, the initial number could be 12.In the second example the sum of the digits of n is not less than k. The initial number could be equal to n.
Input311
Output1
['greedy', '*1100']