N = int(input()) r = 0 for i in range(N): r += int(input()) print(r)