static void print(int i, int j, int k) {
		if (i == 0 && j == 0 && k == 0)
			return;
		if (path[i][j][k + add] == 1)
			print(i - 1, j, k);
		else {
			print(i - 1, j - 1, k - p[i] + d[i]);
			System.out.print(" " + i);
		}
	}