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