import java.util.Scanner; public class Main{ public static void main(String[] args) { //System.out.println("ピラミッドの段数"); Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); //System.out.println("ピラミッドの数字"); int num = scanner.nextInt(); scanner.close(); int k = N; while(k >=0) { for(int i=0; i < k; i++) { System.out.print(num); } System.out.println(); k+=-1; } } }