Hi. Where is something wrong? The solution is printing correctly. Plese show me my mistake and explain why.
package pl.codegym.task.task04.task0436;
/*
Rysowanie prostokąta
*/
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());
for(int a=0; a<3; a++){
System.out.println(8+""+8+""+8+""+8);
for(int b=0; a<2; a++){
System.out.println(8+""+8+""+8+""+8);
}
}
}
}