repeatsCount = int(input()) inputLog = [] for i in range(repeatsCount): N = int(input()) inputLog.append(N) print(sum(inputLog))