#!/usr/bin/env python2
# https://www.hackerrank.com/challenges/a-very-big-sum

import sys

# python cheeses this
n = int(raw_input().strip())
arr = map(int,raw_input().strip().split(' '))
print sum(arr)
