# 백준 #26545 (Mathematics) # N 입력 N = int(input()) sum = 0 for _ in range (N) : N = int(input()) sum = sum + N print(sum)