import java.io.PrintWriter; import java.util.*; public class Main { public static void vectorPrint(Vector lis){ PrintWriter out = new PrintWriter(System.out); for (int i=0 ; i= N){ lis.addElement(X); vectorPrint(lis); }else{ System.out.println("-1"); } } } }