N = int(input()) S = 0 for i in range(N): S += int(input()) print(S, '\n')