end = int(input()) num = input().split() sum = 0 for i in num: sum = sum + int(i) print(sum)