public static void main(String[] args){
		Solver solver = new Solver();
		solver.load("...............8.4....3..5...3..1.........4.....7..3.9.47.62..3.56.....2.32..49.8");
//		solver.load("678621349614937852932854617165783294429516783387249165256398471791462538843175926");
//		solver.load("6..62..49.1.9.785.9....4.171...8.2..4...1...3..7.4...525.3....1.914.2.3.84..75...");
		solver.dfs(0);
		if(solver.hasResult())
			System.out.println(solver.getResult());
		else {
			System.out.println("无解");
		}
//		solver.load(".....15931794.....8.....1...8.2.3.45..2...7..76.5.4.8...4.....9.....62585183.....");
//		System.out.println(solver.getResult());
	}