n=int(input())
for i in range(n):
    print()
    for j in range(n):
        print('*',end='')