Problems

# Merge three sequences

# Merge three sequences

Three sorted sequences are given. Merge them.

#### Input

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

), followed by ^{5}**k** sorted integers.

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

), followed by ^{5}**l** sorted integers.

Third line contains the length of the third sequence **m** (**m** ≤ `10`

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

#### Output

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

Input example #1

6 3 5 7 9 12 16 5 1 3 4 4 7 6 2 3 5 5 7 8

Output example #1

1 2 3 3 3 4 4 5 5 5 7 7 7 8 9 12 16