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

(圖片來源)
Input
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.
輸入包含兩個整數�,�(5<=�,�<=15)n,m(5<=n,m<=15)代表第一個陣列和第二個陣列的長度,接下來兩行分別為陣列一的輸入值和陣列二的輸入值。
Output
Please output the same unique elements in the two arrays.
請輸出兩陣列中相同的唯一元素。
Sample Input 1
Sample Output 1
5 8
1 2 3 4 5
9 8 7 6 5 10 12 13
5
Sample Input 2
Sample Output 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
10