private int findZero(int n, int k) {
        ArrayList<Integer> nineBase = getNineInvertedDigits(n);
        for (int i = 0; i < nineBase.size(); i++) {
            int current = nineBase.get(i);

            if (i == nineBase.size() - 1 && current == 0)
                break;

            if (current == -1) {
                nineBase.set(i, 8);
                nineBase.set(i + 1, nineBase.get(i + 1) - 1);
                continue;
            }

            if (nineBase.get(i) == 0) {
                nineBase.set(i, 9);
                nineBase.set(i + 1, nineBase.get(i + 1) - 1);
            }
        }
        int reslut = 0;
        for (int i = nineBase.size() - 1; i > -1; i--) {
            reslut = reslut * 10 + nineBase.get(i);
        }

        return reslut;
    }