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