number = int(input()) result = 0 for _ in range(number): result += int(input()) print(result)