pub fn parse(input: &str) -> u32
Extracts the two unique numbers from the input then calculates the composite numbers needed for both parts.