static long Third(long a) {
        long tmp;

        for (long i = 2; i < a; i++) {
            if (a % i == 0) {
                tmp = a / i;

                if (Prime(tmp)) {
                    return tmp;
                }
            }
        }
        return 0;
    }