N = int(input()) N_str = str(N) for i in range(N): print(N_str * N) N -= 1