#P1083. 「字符串」The XOR largest Pair

「字符串」The XOR largest Pair

Description

在给定的N个整数A1,A2,….an中选出两个进行XOR(异或)运算,得到结果的最大值 是多少?

Input Format

第一行一个整数N。

第二行N个整数。

Output Format

一个整数表示答案。

Sample

样例输入:
5
2 9 5 7 0
样例输出:
14

Hint

N<=10^5,0<=ai<=2^31。