input_first = int(input()) total = 0 for i in range(0, input_first): total += int(input()) print(total)