use std::io; fn main() { let v = input_nums(); for i in 1..=v[0] { for _j in 0..v[0] { print!("{}", i % 10); } } println!(); } fn input_nums() -> Vec { let mut s = String::new(); io::stdin().read_line(&mut s).unwrap(); let mut v = Vec::new(); for n in s.split_whitespace() { v.push(n.parse::().unwrap()); } v }