import java.util.Scanner; public class space{ public static void main(String[] args){ long totalnum=0; Scanner sc = new Scanner(System.in); int N = sc.nextInt(); Scanner sc2 = new Scanner(System.in); for(int i = 0;i < N;i++){ long addnum = sc.nextLong(); totalnum += addnum; } System.out.print(totalnum); } }