import java.util.*;
public class Main
{
public static void main(String[] args)
{
int n, ancho, alto;
int row, column;
System.out.print("Introduce un número: ");
n = Integer.parseInt(new Scanner(System.in).nextLine());
System.out.print("Introduce la anchura: ");
ancho = Integer.parseInt(new Scanner(System.in).nextLine());
alto = ancho;
for (row = 0; row < alto; row++)
{
for (column = 0; column < ancho; column++)
{
System.out.print(n);
}
System.out.println();
ancho--;
}
}
}