fn main() { for i in 0..1000 { println!("{:03}", i); let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); if s.trim() == "unlocked" { break; } } }