import java.util.Scanner;
class Demo{
public static void main(String[] sgas){
Scanner sc = new Scanner(System.in);
int height=sc.nextInt();
Scanner sc2= new Scanner(System.in);
int wide=sc2.nextInt();
triangle(height,wide);
}
public static void triangle(int height,int wide){
for(int x=0 ; x<height;x++){
for(int y=0 ; y < wide ;y++){
System.out.print("!");
}
System.out.println();
}
}
} |