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