pub fn caculate_location() -> (i32, i32) { let mut input = String::new(); std::io::stdin() .read_line(&mut input) .expect("Failed to read line"); input .trim() .split(";") .map(|item| { if item.len() < 2 { (0, 0) } else { let (s1, s2) = item.split_at(1); if let Ok(value...