package com.codegym.task.task04.task0436; /* Drawing a rectangle */ import java.io.*; public class Solution { public static void main(String[] args) throws Exception { //write your code here BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int m = Integer.parseInt(br.readLine()); int n = Integer.parseInt(br.readLine()); int i = 0; int j = 0; for (i = 1 ; i <= m ; i++){ System.out.println(); for (j = 1; j <= n; j++){ System.out.print(8); } } } }