import java.util.Scanner; public class Main { public static void main(String[] args) { new Main(); } public Main() { try (Scanner sc = new Scanner(System.in)) { int N = sc.nextInt(); for (int i = 0;i < N;++ i) { // N個 for (int j = 0;j < N;++ j) System.out.print(9 - j); // N種類 } System.out.println(); } } }