CF1230B.Ania and Minimizing

传统题 时间 2000 ms 内存 256 MiB 5 尝试 1 已通过 1 标签

Ania and Minimizing

Ania has a large integer SS. Its decimal representation has length nn and doesn't contain any leading zeroes. Ania is allowed to change at most kk digits of SS. She wants to do it in such a way that SS still won't contain any leading zeroes and it'll be minimal possible. What integer will Ania finish with?

Input

The first line contains two integers nn and kk (1n2000001 \leq n \leq 200\,000, 0kn0 \leq k \leq n) — the number of digits in the decimal representation of SS and the maximum allowed number of changed digits.

The second line contains the integer SS. It's guaranteed that SS has exactly nn digits and doesn't contain any leading zeroes.

Output

Output the minimal possible value of SS which Ania can end with. Note that the resulting integer should also have nn digits.

Note

A number has leading zeroes if it consists of at least two digits and its first digit is 00. For example, numbers 0000, 0006900069 and 01010101 have leading zeroes, while 00, 30003000 and 10101010 don't have leading zeroes.

Samples

5 3
51528
10028
3 2
102
100
1 1
1
0

在线编程 IDE

建议全屏模式获得最佳体验