def solve(): s = input() n = int(s) buildFloor(n, s) def buildFloor(n, s): if n <= 0: return line = "" for i in range(n): line += str(s) print(line) return buildFloor(n - 1, s) solve()