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