use std::io::Read; fn main() { let mut s = String::new(); std::io::stdin().read_to_string(&mut s).ok(); let d: Vec = s.split_whitespace().skip(1).flat_map(str::parse).collect(); for d in d { println!("{}{}", if d == 1 { "10" } else { "9" }, "0".repeat(d - 1)) } }