package algo; import java.util.Scanner; import java.util.*; public class sample7 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); for (int i = N; i > 0; i--) { for (int j = i; j > 0; j--) { System.out.print(N); } System.out.println(""); } } }