n=1-io.read()for i=n,-n do i=math.abs(i)print((' '):rep(i)..('*'):rep(-n*2-i*2+1))end