pub fn parse(input: &str) -> (Vec<i32>, Vec<i32>)
Each machine can be processed independently, parallelizing the work over multiple threads.