fn has_pair_twice_without_overlapping(input: &str) -> bool