#D866. Set Union
Set Union
Set Union
Find the union of two sets and .
Constraints
Input
The input is given in the following format.
Elements of and are given in ascending order respectively. There are no duplicate elements in each set.
Output
Print elements in the union in ascending order. Print an element in a line.
Example
Input
3 1 5 8 2 5 9
Output
1 5 8 9
inputFormat
Input
The input is given in the following format.
Elements of and are given in ascending order respectively. There are no duplicate elements in each set.
outputFormat
Output
Print elements in the union in ascending order. Print an element in a line.
Example
Input
3 1 5 8 2 5 9
Output
1 5 8 9
样例
3
1 5 8
2
5 9
1
5
8
9
</p>