import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class No00000646_Main { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public static void main(String[] args) throws IOException { String ns = br.readLine(); int n = Integer.parseInt(ns); for(int i = n; 0 < i; i--) { for(int j = 0; j < i; j++) { System.out.print(ns); } System.out.println(); } } }