public static int printTheSimilarOnesForMe(List toCheck, String input, boolean dont) { byte theNumber33= 0; for (String element: toCheck) { byte thatsEnough= 0; for (int i= 0; i< input.length(); i++) { if (element.charAt(i)== input.charAt(i)) { thatsEnough++; } } if (thatsEnough== 3) { if (!dont) { System.out.println(element); } theNumber33++; } } return theNumber33; } static boolean imDone= false; static int anInt= 0; public static void printThe33(List toCheck, String aBase) { if (((toCheck.size()- 1)> anInt) && (!imDone)) { anInt++; } else { return; } printThe33(toCheck, toCheck.get(anInt)); if (printTheSimilarOnesForMe(toCheck, aBase, true)== 33) { System.out.println("The 33-numbered word:"); System.out.println(aBase); imDone= true; } }