import java.util.Scanner; import java.io.File; import java.io.FileNotFoundException; public class enter{ public static void main(String[] args){ Long totalnum = 0L; Scanner sc = new Scanner(System.in); Scanner sc2 = new Scanner(System.in); int N = sc.nextInt(); for(int i = 0;i