#!/usr/bin/env python n = input().split() nums = input().split() ans = 0 for i in nums: ans += int(i) print(str(ans))