Please help solving this - such a frustration.
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 myReader = new BufferedReader(new InputStreamReader(System.in));
int numOfLines = Integer.parseInt(myReader.readLine());
int numOfChars = Integer.parseInt(myReader.readLine());
int i;
int j;
for (i = 0; i < numOfLines; i++) {
System.out.println();
for (j = 0; j < numOfChars; j++){
System.out.print(8);
}
}
}
}