N = int(input()) L = List(map(int,input().split())) temp = 0 for i in L: temp = temp + i print(temp)