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