跳到主要内容
图灵 OJTURING / ONLINE JUDGE

#F0853. INTERCALC

    ID: 859 传统题 2000ms 256MiB 尝试: 0 已通过: 0 难度: 5 上传者: 标签>模拟编程与模拟进阶难度共享题库Codeforces英文题面题目来源题面语言

INTERCALC

题目描述

C. INTERCALC
time limit per test
2 seconds
memory limit per test
64 megabytes
input
standard input
output
standard output

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

Input

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 ai (1≤ai≤11).

Output

Output a single integer.

Example
Input
4
2 5 3 1
Output
4


题目来源:fps-www.educg.net-codeforce-1-2833.xml.zip;FPS 共享题包,题包内第 283 题。保留原作者与原赛事署名。