Merge three sequences
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Three sorted sequences are given. Merge them.
Input
First line contains the length of the first sequence k (k ≤ 10^5
), followed by k sorted integers.
Second line contains the length of the second sequence l (l ≤ 10^5
), followed by l sorted integers.
Third line contains the length of the third sequence m (m ≤ 10^5
), followed by m sorted integers.
Output
Merge three given sequences and print the result in one line.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 54%