number = int(input()) split = input().split() result = 0 for i in range(number): result += int(split[i]) print(result)