Scanner sc=new Scanner(System.in); int n=sc.nextInt(); for (int m=sc.nextInt();m>0;m--) { System.out.println("8".repeat(n)); }