Problem:
Problem description is available from here.

Solution (Python):
n = int(input())
print(sum(map(int, input().split())))

Solution (Python):
input()
print(sum([int(x) for x in input().split()]))