static <E> void println (List<E> l) { for (E x : l) { System.out.print (x + " "); } System.out.println (""); }