a=map(int,raw_input().split()) l=max(a)+1|1 while~l:print''.join((x%2*'/ _\\ '[x<l::2]*(x<=l<x+4)or'_ '[x|1!=l>1]*3)[x<1:x+2]+'| '[x<=l>=y]*(x+y>0)for x,y in zip([0]+a,a+[0]))[1:];l-=2
0 4 2 7 0 8 4 8 4 8 12 2 12 0 10 2
___ ___ | | | | ___ _ ___ ___ ___| | | | | | / \ | | | | | | | | | | | ___ | | | |___| |___| | | | | | | | |___| | | | | | | | |___| | | |___ _|___|___|___|_|___|___|___|___|___|___|___|___|_|___|___|