wow — COCI CONTEST_#5
Task type: batch | Time limit: 1 s | Memory limit: 512 MB | Difficulty: 5
Algorithms: pattern matching, ad-hoc, string

# Task Wow

While Mr. Malnar was traveling by bus to Graz, he noticed that other passengers were looking at his phone and reading the messages he was sending to Patrik. Mr. Malnar decided to put an end to this. Therefore, together with Patrik, he developed a new way of encrypting their messages, which they call the *VolksWagen* cipher.

![](_page_0_Picture_4.jpeg)

The received message can be imagined as a table of characters with 2 rows and $n$ columns. Each letter spans all 2 rows and several columns, and they are separated by spaces. The appearance of letters in the message can be seen in the sample test cases.

The letter 'v' is represented as follows:

```
\../
.\/.
```

The letter 'w' is represented as follows:

```
\../\../
.\/..\/.
```

From now on, Patrik and Mr. Malnar will communicate exclusively using the letters 'v' and 'w' (without quotes). However, Mr. Malnar is having trouble reading these messages. He has asked you to help him decipher the message he received. Of course, he has not revealed to you how to decrypt their cipher.

## Input

The first line contains a positive integer $N$ ($1 \le N \le 1000$), the number of columns in the message.

In the next 2 rows, there are $N$ characters each, representing one row of the message. It is guaranteed that empty columns will be exactly between two different letters, and there will be exactly one empty column between two letters. (An *empty column* is considered to be one that contains only the character '.'.)

## Output

In a single line, print the letters that appear in the message in order.

## Scoring

| Subtask | Points | Constraints                                  |
|---------|--------|----------------------------------------------|
| 1       | 21     | The message consists of a single letter.     |
| 2       | 13     | All letters in the message will be the same. |
| 3       | 16     | No additional constraints.                   |

![](_page_1_Picture_0.jpeg)

## Examples

**Input**

```
32
\../.\../\../.\../.\../.\../\../
.\/...\/...\/...\/...\/...\/..\/.
```

**Output**

```
vwvvw
```

**Input**

```
27
\../\../.\../\../.\../.\../
.\/..\/. \/..\/. \/..\/.
```

**Output**

```
wwvv
```

Starter code: