#!/usr/bin/env python3 # -*- coding: utf-8-*- n = int(input()) l = map(int, input().split(" ")) a = 0 for i in l: a += i print(a)