public boolean isPossible() {
		int[] colors = { 0, 0, 0, 0, 0, 0 };
		for (int f = 0; f < 6; f++) {
			for (int x = 0; x < 3; x++) {
				for (int y = 0; y < 3; y++) {
					colors[getColor(f, x, y).getInt()]++;
				}
			}
		}
		for (int i = 0; i < 5; i++) {
			if (colors[i] != colors[i + 1]) {
				return false;
			}
		}
		return true;
	}