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