fn main() { if let Some(n) = (1..).find(|x| x * x % 1_000_000 == 269_696) { println!("The smallest number whose square ends in 269696 is {}", n) } }