J - Judicious XORcery

Languages: C, C++, Java, Python, Kotlin
Time & Memory limits: (details)

Input

Output

Sample test(s)

Input
4 4 2 1 5 4 1 3 3 4 1 -2 3 3
--- Showing first 30 lines (click "Copy" to get full content) ---
Output
2 5
--- Showing first 30 lines (click "Copy" to get full content) ---
Input
7 10 3 1 2 10 8 8 7 1 5 2 6 5 3 7 1 -2 3 6 2 3 4 3 7 3 4 1 -1 3 4
--- Showing first 30 lines (click "Copy" to get full content) ---
Output
7 7 7 10 14
--- Showing first 30 lines (click "Copy" to get full content) ---