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