The output is
*8888*
*8888*
*8888*
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 reader = new BufferedReader(new InputStreamReader(System.in));
int m = Integer.parseInt(reader.readLine());
int n = Integer.parseInt(reader.readLine());
{ for (int i = 0; i < m ; i++){
System.out.println();
for ( int j = 0 ; j < n ; j++){
System.out.print("8");
}}}
}
}