# coding: utf-8 ct = int(input().rstrip()) num = [int(x) for x in input().rstrip().split()] print(sum(num)) #