Problems

# Merge the sequences

# Merge the sequences

Two sorted sequences are given. Merge them.

#### Input

First line contains the length of the first sequence **n** (**n** ≤ `10`

), followed by ^{6}**n** sorted integers.

Second line contains the length of the second sequence **m** (**m** ≤ `10`

), followed by ^{6}**m** sorted integers.

#### Output

Merge two given sequences and print the result in one line.

Input example #1

4 2 4 6 7 6 1 2 2 4 5 6

Output example #1

1 2 2 2 4 4 5 6 6 7