import java.util.Scanner; public class No9009 { public static void main(String[] args) { int n; Scanner sc = new Scanner(System.in); n = sc.nextInt(); long[] l = new long[n]; long sum = 0; for (int i = 0; i < n; i++) { l[i] = sc.nextLong(); } for (int i = 0; i < n; i++) { sum += l[i]; } System.out.println(sum); } }