Provided an array of N integers, you need to reverse a subarray of that array. The range of this subarray is given by L and R.
Input: The first line of input contains an integer T denoting the number of test cases. T testcases follow. Each testcases contains three lines of input:
The first line is N, the size of the array.
The second line contains N integers denoting the elements of the array.
The third line contains L and R, denoting the starting and ending positions of the subarray.
For each testcase, print the modified array.
Constraints: 1 ≤ T ≤ 200
1 ≤ N ≤ 107
1 ≤ A[i] ≤ 1000
1 ≤ L ≤ R ≤ N