Find the union of two sets A={a0,a1,...,an−1} and B={b0,b1,...,bm−1}.
The input is given in the following format.
n a0a1...an−1 m b0b1...bm−1
Elements of A and B are given in ascending order respectively. There are no duplicate elements in each set.
Print elements in the union in ascending order. Print an element in a line.
3 1 5 8 2 5 9
1 5 8 9