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