I got the characters printed out but not the new line. Need help
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 read = new BufferedReader(new InputStreamReader(System.in));
String sm = read.readLine();
String sn = read.readLine();
int m = Integer.parseInt(sm);
int n = Integer.parseInt(sn);
for(;m >= 1 ; m--){
for(;n>=1;n--){
System.out.print("8");
}
System.out.print("\n");
}
}
}