Bob has a string password $$S$$ of length $$N$$ consists only of digits $$0$$, $$1$$, and $$2$$. The password needs to follow the given requirements:
- Password $$S$$ must contain exactly $$A$$ characters "0".
- Password $$S$$ must contain exactly $$B$$ characters "1".
- All other characters of the password $$S$$ must be "2".
Bob wants to replace the minimum number of characters in the password $$S$$ so that it meets the given requirements.
Help Bob find the minimum number of replacements and print the corresponding possible variant of the password. If there are multiple passwords possible, print the lexicographically smallest.
Input format
- The first line contains an integer $$T$$ denoting the number of test cases.
- The first line of each test case contains an integer $$N$$ denoting the length of the password.
- The second line of each test case contains two space-separated integers $$A$$ and $$B$$.
- The third line of each test case contains a string $$S$$ denoting the password.
Output format
For each test case, print the minimum replacements required in a new line. In the next line, print the updated lexicographically smallest password $$S$$.
Constraints
\(1 \le T \le 100000\\ 1 \le N \le 200000\\ 0 \le A,B \le N\ (A+B \le N)\)
Sum of $$N$$ over $$T$$ testcases does not exceed $$1e6$$