#P1663C. Pōja Verdon

    暂无评定 ID: 1121 远端评测题 1000ms 256MiB 尝试: 0 已通过: 0 难度: (无) 上传者: 标签>*special problemimplementationmath

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.