import math
sum = 0
n = int(input())
for x in range(0, n):
    a = int(input())
    sum += a
print(sum)

1127eda1320f3fc1e2743e34f7ca2dc6f62b8a8c
<mask token>

<mask token>
for x in range(0, n):
    a = int(input())
    sum += a
print(sum)

<mask token>
sum = 0
n = int(input())
for x in range(0, n):
    a = int(input())
    sum += a
print(sum)

import math
sum = 0
n = int(input())
for x in range(0, n):
    a = int(input())
    sum += a
print(sum)
