# coding:utf-8 from random import randint N = int(input()) line = map(int, input().split()) ans = 0 for i in line: ans += i print(ans)