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