WOOW String#12249

WOOW String

1 second
256 megabytes
Very easy

Given a string consisting of digits, determine the WOOW representation of .

The WOOW representation of a string is a string of length n-1 (where is the length of ), defined as follows:

t_{i} = \begin{cases} \text{1} & \text{if } s_{i} = s_{i+1} \\ \text{0} & \text{otherwise} \end{cases}\; \text{for } 1 \leq i \leq n-1.

Input

The first line contains a single integer (1 \leq t \leq 10^5) — the number of test cases.

For each test case, the first line contains a single integer (1 \leq n \leq 5000) — the length of the string .

The second line contains the string , consisting of digits.

It is guaranteed that \sum n \leq 4 \cdot 10^5 over all test cases.

Output

For each test case, output a single string — the WOOW representation of .

Examples

Example 1

Loading
Loading

Scoring

  1. Subtask 1 ( points): n = 5.

  2. Subtask 2 ( points): s_1 = s_2 = \dots = s_n.

  3. Subtask 3 ( points): No additional constraints.