r=io.read()for x=-r,r do for y=-r,r do io.write(x*x+y*y>r*r and" "or"*")end print""end