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