N = input() A = list(map(int, input().split())) S = 0 for i in A: S += i print(S)