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