total_numbers = int(input()) total = 0 for num in range(0,total_numbers): current_num = int(input()) total += current_num print(total)