public String getPhrase(String number, String[] dictionary) {
		Arrays.sort(dictionary);
		String result = "";
		for (char n : number.toCharArray()) {
			int size = Integer.valueOf(n + "");
			for (int i = 0; i < dictionary.length; i++) {
				if (dictionary[i].length() == size) {
					if (result.length() > 0) {
						result += " ";
					}
					result += dictionary[i];
					dictionary[i] = "";
					break;
				}
			}
		}
		return result;
	}