why my code is not accepted by the task?
package com.codegym.task.task04.task0436;
/*
Drawing a rectangle
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader reader = new BufferedReader (new InputStreamReader (System.in));
int m = Integer.parseInt(reader.readLine());
int n = Integer.parseInt(reader.readLine());
int n2 = n;
for (; m > 0; m = m - 1)
{
for (; n2 > 0; n2 = n2 - 1)
{
System.out.print(n);
}
System.out.println();
n2 = n;
}
//write your code here
}
}