#include <bits/stdc++.h>
using namespace std;
long long C(long long n, long long k) {
  double res = 1;
  for (int i = 1; i <= k; ++i) res = res * (n - k + i) / i;
  return (long long)(res + 0.01);
}
vector<vector<long long int> > readGraph(long long n, long long m) {
  vector<vector<long long int> > g(n);
  for (long long i = 0; i < m; i++) {
    long long a, b;
    cin >> a >> b;
    g[a].push_back(b);
    g[b].push_back(a);
  }
  return g;
}
vector<vector<long long int> > readTree(int n) { return readGraph(n, n - 1); }
void solve() {
  long long n;
  cin >> n;
  string s;
  cin >> s;
  set<char> ss;
  for (long long i = 0; i < n; i++) {
    ss.insert(s[i]);
  }
  if (ss.size() == 1 && s[0] == '?') {
    for (long long i = 0; i < n; i++) {
      if (i & 1)
        cout << "B";
      else
        cout << "R";
    }
    cout << "\n";
    return;
  }
  for (long long i = 0; i < n - 1; i++) {
    if (s[i] == 'R' && s[i + 1] == '?') {
      s[i + 1] = 'B';
    }
    if (s[i] == 'B' && s[i + 1] == '?') {
      s[i + 1] = 'R';
    }
  }
  for (long long i = n - 1; i > 0; i--) {
    if (s[i] == 'R' && s[i - 1] == '?') {
      s[i - 1] = 'B';
    }
    if (s[i] == 'B' && s[i - 1] == '?') {
      s[i - 1] = 'R';
    }
  }
  cout << s << "\n";
}
int main() {
  ios_base ::sync_with_stdio(false);
  cin.tie(NULL);
  long long t;
  cin >> t;
  while (t--) {
    solve();
  }
  return 0;
}

### Prompt

Create a solution in CPP for the following problem:

As their story unravels, a timeless tale is told once again...

Shirahime, a friend of Mocha's, is keen on playing the music game Arcaea and sharing Mocha interesting puzzles to solve. This day, Shirahime comes up with a new simple puzzle and wants Mocha to solve them. However, these puzzles are too easy for Mocha to solve, so she wants you to solve them and tell her the answers. The puzzles are described as follow.

There are n squares arranged in a row, and each of them can be painted either red or blue.

Among these squares, some of them have been painted already, and the others are blank. You can decide which color to paint on each blank square.

Some pairs of adjacent squares may have the same color, which is imperfect. We define the imperfectness as the number of pairs of adjacent squares that share the same color.

For example, the imperfectness of "BRRRBBR" is 3, with "BB" occurred once and "RR" occurred twice.

Your goal is to minimize the imperfectness and print out the colors of the squares after painting. 

Input

Each test contains multiple test cases. 

The first line contains a single integer t (1 ≤ t ≤ 100) — the number of test cases. Each test case consists of two lines.

The first line of each test case contains an integer n (1≤ n≤ 100) — the length of the squares row.

The second line of each test case contains a string s with length n, containing characters 'B', 'R' and '?'. Here 'B' stands for a blue square, 'R' for a red square, and '?' for a blank square.

Output

For each test case, print a line with a string only containing 'B' and 'R', the colors of the squares after painting, which imperfectness is minimized. If there are multiple solutions, print any of them.

Example

Input


5
7
?R???BR
7
???R???
1
?
1
B
10
?R??RB??B?


Output


BRRBRBR
BRBRBRB
B
B
BRRBRBBRBR

Note

In the first test case, if the squares are painted "BRRBRBR", the imperfectness is 1 (since squares 2 and 3 have the same color), which is the minimum possible imperfectness.

### Response

```cpp
#include <bits/stdc++.h>
using namespace std;
long long C(long long n, long long k) {
  double res = 1;
  for (int i = 1; i <= k; ++i) res = res * (n - k + i) / i;
  return (long long)(res + 0.01);
}
vector<vector<long long int> > readGraph(long long n, long long m) {
  vector<vector<long long int> > g(n);
  for (long long i = 0; i < m; i++) {
    long long a, b;
    cin >> a >> b;
    g[a].push_back(b);
    g[b].push_back(a);
  }
  return g;
}
vector<vector<long long int> > readTree(int n) { return readGraph(n, n - 1); }
void solve() {
  long long n;
  cin >> n;
  string s;
  cin >> s;
  set<char> ss;
  for (long long i = 0; i < n; i++) {
    ss.insert(s[i]);
  }
  if (ss.size() == 1 && s[0] == '?') {
    for (long long i = 0; i < n; i++) {
      if (i & 1)
        cout << "B";
      else
        cout << "R";
    }
    cout << "\n";
    return;
  }
  for (long long i = 0; i < n - 1; i++) {
    if (s[i] == 'R' && s[i + 1] == '?') {
      s[i + 1] = 'B';
    }
    if (s[i] == 'B' && s[i + 1] == '?') {
      s[i + 1] = 'R';
    }
  }
  for (long long i = n - 1; i > 0; i--) {
    if (s[i] == 'R' && s[i - 1] == '?') {
      s[i - 1] = 'B';
    }
    if (s[i] == 'B' && s[i - 1] == '?') {
      s[i - 1] = 'R';
    }
  }
  cout << s << "\n";
}
int main() {
  ios_base ::sync_with_stdio(false);
  cin.tie(NULL);
  long long t;
  cin >> t;
  while (t--) {
    solve();
  }
  return 0;
}

```