All governments find that a lock-down is the best solution to stop coronavirus from spreading with minimizing human interaction. So the work and study from home became the new lifestyle of 7 billion people around the world. But this step gives extra work for parents because beside their responsibilities as employees, they have to study with their children and monitor their performance, and spelling errors are one of the problems which face their children. Here comes your impact as a software engineer. You have to write a program which automates the correction of misspellings.
The first line of the input file contains a single integer N (1 ≤N≤1000) which is the number of cases to follow.
Each case takes a line and each line contains a number M followed by a space then a single String composed by capital letters. ( M represents the index of wrong character which you have to erase it).
M will be less than or equal to the word size, and the word size is guaranteed to be below 80.
For each case, you must generate a Number and String separated with space. Number represents the order, String is the correction of the given word.
4 4 MISISPELL 1 OPROGRAMMING 7 CONTESTT 3 BAKLLOON
1 MISSPELL 2 PROGRAMMING 3 CONTEST 4 BALLOON