N = int( input() ) numbers = [ input() for i in range(N) ] sum = 0 for i in range(N): sum = sum + int( numbers[i] ) print(sum)