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