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