The symbol represents the bitwise XOR operator for integers. For example:
The \textit{value} of an array such as is defined as:
You are given two arrays of numbers, and .
For each from to , you can swap the values of and . Write a program to perform these swaps in such a way that the sum of the values of both arrays is maximized.
The first line of input contains a positive integer , representing the length of the arrays.
The second and third lines each contain positive integers separated by space, with the second line representing the elements of array and the third line representing the elements of array .
Print a single integer, the maximum possible value for the sum of the values of both arrays.