ct = int(input()) lst = map(int,input().split()) print(sum(lst))