n = int(input())
for i in range(n):
    print("*" * n)
else:
    del n, i