sum = 0 count = int(input()) number = [] for i in range(count): input_number = int(input()) number.append(input_number) sum += number[i] print(sum)