fn main() { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); let n = s.trim().parse().unwrap(); let mut a = vec![]; for t in 0..=n { for f in 0..=n { a.push(2u64.pow(t) * 5u64.pow(f)) } } a.sort(); a.iter().for_each(|&x| println!("{}", x)); }