use std::i64; use std::io::stdin; fn get_line() -> String { let mut line = String::new(); stdin().read_line(&mut line).ok(); line } fn main() { let line = get_line(); let n: u32 = line.trim().parse().unwrap(); let ten: i64 = 10; let p: i64 = ten.pow(n); let mut s: i64 = 1; let mut result = Vec::new(); loop { if s >= p / s { result.push(s); break; } if p % s == 0 { result.push(s); result.push(p / s); s += 1; } else { s += 1; } } result.sort(); for i in result { println!("{}", i) } }