n = int(input())
s = 0
for i in range(n):
a = int(input())
s += a
print(s)
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
n = int(input())
s = 0
for i in range(n):
a = int(input())
s += a
print(s)