n = int(input())
s = '*'

for i in range(n):
    s = s + s
    print(s)