N = int(input()) 

for i in range(N):
    for x in range(1, N+1):
        if x % 2 == 1:
            print("* ", end="") 
    print("")
    
    for x in range(1, N+1):
        if x % 2 == 0:
            print(" *", end="")
    print("")

+ Recent posts