Description
請撰寫一個程式讓使用者輸入兩個陣列,並且找出在兩陣列中的所有唯一元素。
(個別陣列中的所有元素不重複。)
Please write a program that allows the user to input two arrays and find all unique elements in both arrays.
(All elements in individual arrays are not repeated.)

(圖片來源)
Input
輸入包含兩個整數 �,�(5<=�,�<=15)n,m(5<=n,m<=15) 代表第一個陣列和第二個陣列的長度,接下來兩行分別為陣列一的輸入值和陣列二的輸入值。
The input contains two integers �,�(5<=�,�<=15)n,m(5<=n,m<=15) representing the lengths of the first array and the second array. The next two lines are the input values of array one and the input of array two respectively. value.
Output
請輸出兩陣列中的所有唯一元素。
Please output all unique elements in both arrays.
Sample Input 1
5 8
1 2 3 4 5
9 8 7 6 5 10 12 13
Sample Output 1
1 2 3 4 5 9 8 7 6 10 12 13
Sample Input 2
10 12
1 2 3 4 5 6 7 8 9 10
17 18 19 20 21 16 15 14 13 12 11 10
Sample Output 2