Suma liczb

Wczytaj N liczb i wypisz ich sume.

Difficulty: Easy ← Back to course

Problem

Masz podana liczbe N oraz N liczb calkowitych. Oblicz ich sume.

Input

Pierwsza linia: N. Druga linia: N liczb calkowitych.

Output

Jedna liczba: suma podanych liczb.

Examples

Input:
3
1 2 3

Output:
6

---

Input:
4
10 20 30 40

Output:
100
Pyodide loading…
Public tests

Hidden tests only run locally in the worker and aren't shown here.

Results