import java.util.Scanner; public class Main { public static void main(String[] a) { Scanner s = new Scanner(System.in); long N=s.nextInt(),i=0,z=0,c; while(i++