private static int range(int low, int high, int nUpper){
		int max = 0;
		for(int i=low;i<high;i++){
			StringBuilder sb = new StringBuilder();
			Set<Character> digits = new HashSet<Character>();
			for(int n=1;n<nUpper;n++){
				int temp = i*n;
				sb.append(temp);
				for(char c : Integer.toString(temp).toCharArray()){
					if (c!='0') digits.add(c);
				}
			}
			if (digits.size()==9 && sb.length()==9){
				System.out.println(i);
				int ss = Integer.parseInt(sb.toString());
				if(ss > max) max = ss;
			}
		}
		return max;
	}