DO YOU EXPECT ME TO FIND THIS OUT?

WHAT BASE AND/XOR LANGUAGE INCLUDES string?

DON'T BYTE OF MORE THAN YOU CAN CHEW

YOU CAN ONLY DISTORT THE LARGEST OF MATHEMATICS SO FAR

SAYING "ABRACADABRA" WITHOUT A MAGIC AND WON'T DO YOU ANY GOOD

THE LAST STACK RUPTURES. ALL DIE. OH, THE EMBARRASSMENT!

I HAVE NO ARRAY AND I MUST SCREAM

ELEMENTS MAY NOT BE STORED IN WEST HYPERSPACE
The first line of input data contains a single integer *n* (1 ≤ *n* ≤ 10).

The second line of input data contains *n* space-separated integers *a*<sub class="lower-index">*i*</sub> (1 ≤ *a*<sub class="lower-index">*i*</sub> ≤ 11).
none
4
2 5 3 1
4
2
1 5
0
1
8
0
6
1 1 1 3 2 9
0
5
8 9 3 1 9
0
6
1 5 2 1 7 11
0
8
1 6 11 8 5 10 7 8
3
3
4 9 6
15
2
4 8
0
3
1 1 5
0
5
4 5 5 2 11
0
6
1 7 2 8 8 2
10
5
3 9 3 2 3
10
7
6 6 1 1 1 2 3
5
7
11 1 2 8 10 5 9
2
7
4 5 1 10 10 4 1
11
10
5 5 10 10 10 2 4 3 4 10
0
8
4 7 11 3 11 3 1 1
10
2
5 9
0
6
2 1 10 2 7 5
15
6
3 5 9 10 5 4
14
8
3 5 8 10 3 4 2 10
0
7
1 6 5 3 9 5 9
0
8
7 2 6 3 6 4 1 8
0
10
8 10 6 10 4 3 4 6 7 4
14
2
1 5
0
10
5 6 4 8 11 4 10 4 8 4
15
2
3 7
0
3
4 10 3
9
5
5 2 2 11 2
9
i=input
i()
a=list(map(int, i().split()))
print(max(a)^a[-1])