n=int(input("Nhap so"))
a=int(n%2)
if a == 1:
    for i in range(1,n,2):
        print("x *",end=' ')
    print("x")
else:
    for i in range(1,n,2):
        print("x *",end=' ')

c3183753a7bffba24a354f3e231add129ca7d9a5
<mask token>

<mask token>
if a == 1:
    for i in range(1, n, 2):
        print('x *', end=' ')
    print('x')
else:
    for i in range(1, n, 2):
        print('x *', end=' ')

n = int(input('Nhap so'))
a = int(n % 2)
if a == 1:
    for i in range(1, n, 2):
        print('x *', end=' ')
    print('x')
else:
    for i in range(1, n, 2):
        print('x *', end=' ')

n=int(input("Nhap so"))
a=int(n%2)
if a == 1:
    for i in range(1,n,2):
        print("x *",end=' ')
    print("x")
else:
    for i in range(1,n,2):
        print("x *",end=' ')
