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