use std::io::*; fn main() { let mut s: String = String::new(); std::io::stdin().read_to_string(&mut s).ok(); let mut itr = s.trim().split_whitespace(); let a: i64 = itr.next().unwrap().parse().unwrap(); let b: i64 = itr.next().unwrap().parse().unwrap(); let mut c = a / b; let mut d = 0; while c >= 10 { d += 1; c /= 10; } for _ in 0..d { c *= 10; } if c < 1000 { println!("0"); } else { println!("{}", c); } }