Given an array arr[] of N positive integers. Find an integer denoting the maximu

Given an array arr[] of N positive integers. Find an integer denoting the maximum XOR subset value in the given array arr[].

example

Input :

N = 3

arr[] = {2, 4, 5}

Output : 7

Explanation :

The subset {2, 5} has maximum

subset XOR value.