Given natural numbers N and K, find the smallest natural number greater than N whose decimal representation contains the digit 5 at least K times.
The first line contains two natural numbers N and K separated by a space.
Print the smallest natural number greater than N whose decimal representation contains the digit 5 at least K times.