public static void main(String[] args) {
		int n = 0;
		Scanner scanner = new Scanner(System.in);
		while(true){
			System.out.print("һȻ n:");
			n = scanner.nextInt();
			int a[] = new int[n];
			List<Integer> aList = new LinkedList<Integer>();
			while(n>0){
				aList.add(n--);
			}
			Collections.shuffle(aList);//
			int i=0;
			System.out.println("ɵΪ");
			for (Integer e : aList) {
				a[i]=e.intValue();
				System.out.printf("%5d ",a[i]);
				if ((MAXNUM-1) == i%MAXNUM) {
					System.out.println();
				}
				i++;
			}
			System.out.println();
			lis(a);
		}
	}