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