HYY3PPSCK4QQYYWCFDESOE3NLJIQJ4PCVDGITDUULW2EM6VY7OQAC println!("{}", char_count);
valid_passwords}fn part_two(input: &[&str]) -> u32 {let mut valid_passwords = 0;for entry in input.iter() {let mut split = entry.split('-');let pos_a = split.next().unwrap().parse::<usize>().unwrap();let mut rest = split.next().unwrap().split(' ');let pos_b = rest.next().unwrap().parse::<usize>().unwrap();let char = rest.next().unwrap().split(':').next();let password = rest.next().unwrap().split(' ').next();let mut occurrences = 0;