n = int(input()) aList = list(map(int, input().split())) sum = 0 for i in aList: sum = sum + i print(sum)