Symmetric Difference


Submit solution

Points: 100
Time limit: 2.0s
Memory limit: 256M

Author:
Problem types

Find the values that occur in exactly one of the two array sets.

Input

The first line contains n and m. The next two lines contain arrays A and B.

Array and query counts are between $1$ and $10^5$. Integer values are between $-10^9$ and $10^9$. Deleting a missing multiset value has no effect.

Output

Print the symmetric difference in increasing order. Print an empty line if it is empty.

Example

Input
6 6
1 9 3 8 0 7
3 1 7 3 7 5
Output
0 5 8 9

Comments

There are no comments at the moment.