it does work, it does not get verified by the third condition
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 haha = new BufferedReader(new InputStreamReader(System.in));
String n1 = haha.readLine();
int e=8;
String m1 = haha.readLine();
int m=Integer.parseInt(m1);
int n=Integer.parseInt(n1);
for(int y = 0; y<n; y++){
System.out.println();
for(int x = 0; x<m; x++){
System.out.print(e); }}
}
}