private boolean solve() {
        for (int i = 0; i < 3; i++) {
            for (int j = 0; j < 3; j++) {
                for (int k = 0; k < 3; k++) {
                    if (i == j || j == k || i == k) continue;
                    Date date = new Date(field[i], field[j], field[k]);
                    if (date.isLegal() && date.eighteenYearsEarlier(finalDate)) {
                        return true;
                    }
                }
            }
        }
        return false;
    }