PROGRAMMING:Exchange position of T series
Uncle WW's confidence increased greatly after finishing the first question. He found that the second question was also super simple. The general meaning of the question was to give you a string of numbers, which would be exchanged between the number N and the number M.
###Input format:
There are several groups of input data, each of which has three lines. The first line is t, which means that there are t numbers in this series (1 < T < = 100). In the second line, enter t values to represent the string of values. In the third line, enter n, m, which means that it is the n-th, m-th bit. When t is 0, it means the end of input and the line is not processed.
###Output format:
For each group of input data, output the exchanged array. There is a space between every two data.
###Input example:
Here is a set of inputs. For example:
```in
eight
1 9 9 5 1 2 1 3
1 2
eight
2 0 0 3 1 2 1 4
6 4
0
```
###Output example:
The corresponding output is given here. For example:
```out
9 1 9 5 1 2 1 3
2 0 0 2 1 3 1 4
```
answer:If there is no answer, please comment
###Input format:
There are several groups of input data, each of which has three lines. The first line is t, which means that there are t numbers in this series (1 < T < = 100). In the second line, enter t values to represent the string of values. In the third line, enter n, m, which means that it is the n-th, m-th bit. When t is 0, it means the end of input and the line is not processed.
###Output format:
For each group of input data, output the exchanged array. There is a space between every two data.
###Input example:
Here is a set of inputs. For example:
```in
eight
1 9 9 5 1 2 1 3
1 2
eight
2 0 0 3 1 2 1 4
6 4
0
```
###Output example:
The corresponding output is given here. For example:
```out
9 1 9 5 1 2 1 3
2 0 0 2 1 3 1 4
```
answer:If there is no answer, please comment