human
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.
The above is tricky. Write me a correct solution in PYTHON3.
 Can you provide a Python program to print out the colors of the squares after painting?
assistant
#Here is Python program to print out the colors of the squares after painting.

def main():
    alpha = 'abcdefghijklmnopqrstuvwxyz'
    ALPHA = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    inf = 1e17
    mod = 10 ** 9 + 7

    # Max = 10 ** 1
    # primes = []
    # prime = [True for i in range(Max + 1)]
    # p = 2
    # while (p * p <= Max + 1):
    #
    #     # If prime[p] is not
    #     # changed, then it is a prime
    #     if (prime[p] == True):
    #
    #         # Update all multiples of p
    #         for i in range(p * p, Max + 1, p):
    #             prime[i] = False
    #     p += 1
    #
    # for p in range(2, Max + 1):
    #     if prime[p]:
    #         primes.append(p)
    #
    # print(primes)

    def factorial(n):
        f = 1

        for i in range(1, n + 1):
            f = (f * i) % mod  # Now f never can
        # exceed 10^9+7

        return f

    def ncr(n, r):
        # initialize numerator
        # and denominator
        num = den = 1
        for i in range(r):
            num = (num * (n - i)) % mod
            den = (den * (i + 1)) % mod
        return (num * pow(den,
                          mod - 2, mod)) % mod

    def solve(n,arr):


        st = []
        ptr = 0
        answer = []
        while ptr < n:

            if arr[ptr] == '?':
                st.append('?')
            else:
                rev = [arr[ptr]]
                while st:
                    if rev[-1] == 'R':
                        rev.append('B')
                    else:
                        rev.append('R')
                    st.pop()
                answer += rev[::-1]

            ptr += 1

        start = len(answer)-1
        #print('start',start)

        if start < n:
            if arr[start] == 'B':
                answer += ((n-len(answer)+1)//2)*['R','B']
            else:
                answer += ((n - len(answer) + 1) // 2) * ['B', 'R']


        return "".join(answer[:n])













        pass

    t = int(input())
    ans = []
    for _ in range(t):
        n = int(input())

        #n,k = map(int, input().split())

        arr =...