#P1663C. Pōja Verdon

Pōja Verdon

Description

Aenar has an array $a$ consisting of $n$ integers.

The first line is the integer $n$ ($1 \le n \le 100$).

The second line contains $n$ integers $a_i$ ($0 \le a_i \le 3979$) — the contents of the array.

Output a single number.

Input

The first line is the integer $n$ ($1 \le n \le 100$).

The second line contains $n$ integers $a_i$ ($0 \le a_i \le 3979$) — the contents of the array.

Output

Output a single number.