N = int(input()) L = list() for i in range(N): L.append(int(input())) y = 0 for i in L: y += i print(y)