public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        StringBuilder builder = new StringBuilder();

        while (scanner.hasNextLine()) {
            String s = scanner.nextLine();
            if (s.trim().length() == 0) {
                break;
            }
            builder.append(s).append("\n");
        }
        System.out.println(solve2(builder.toString()));
    }
Why Did you create this class? what does it do?
src/adventofcode/SporificaVirus_22.java