The first line contains three integers N, A, and B (1≤N≤109, 1≤A≤min(N,5×104), 1≤B≤min(N,5×104)).
The second line contains the A problem numbers Alice can solve. The third line contains the B problem numbers Bob can solve. Within one line the numbers are distinct and lie between 1 and N, and they are not necessarily sorted.