# coding: utf-8 # Your code here! line = input() line2 = list(map(int, input().split())) print(sum(line2))