File("src/InputDay4.txt")
            .readText().split("\n\n")
            .map { it
                    .split(Regex("\\s"))
                    .map(String::first)
                    .sorted()
                    .joinToString("")
            }
            .count { it == "bceehhip" || it == "beehhip" }