import sys w=int(raw_input());p=sys.stdout.write;r=xrange;f=0;w=(w-1)*2/3+1 def j(t,c,f):return t if c else f for i in [0,1]: e=w-i for y in r(w/2*(i<1)+1,e+1): f=j(w+1,f*i,y+1) [p("_ |/\\\n"[j(5,x==f,j(4,x==y,j(3,w-y==x,j(y