import java.util.Arrays; import java.util.Scanner; public class sum{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long sum = 0; int i; for(i=0; i