fn parse_input(input: &str) -> Result<HashMap<String, HashMap<String, u64>>>