Function part2

Source
pub fn part2(input: &[(bool, i32)]) -> i32