Олимпиадный тренинг

Задача . C. Pōja Verdon


Aenar has an array \(a\) consisting of \(n\) integers.

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.


time 1000 ms
memory 256 Mb
Правила оформления программ и список ошибок при автоматической проверке задач

Статистика успешных решений по компиляторам
Комментарий учителя