It's printing beautiful rectangle but it's not passing your test. why?
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));
String em = reader.readLine();
String en = reader.readLine();
int m = Integer.parseInt(em);
int n = Integer.parseInt(en);
for(int i = 0; i < m; i++){
for (int j = 0; j <= m + 1; j++){
System.out.print(8);
}
System.out.println();
}
}
}