import java.util.Scanner; public class No9008 { public static void main(String[] args) { Scanner s = new Scanner(System.in); Integer count = s.nextInt(); Long sum = 0L; for (int i = 0; i < count; i++) { sum += s.nextLong(); } System.out.println(sum); } }