N = input() for i in xrange(N, 0, -1): print str(N) * i