#coding:u8 p=' '*~-input() b='─' q='╭─%s─╮\n' r=p+q%'╨─╨' i=5 while p:p=p[2:];r+=p+q%'┴%s┴'%(b*i);i+=4;r+=p+'│'+' '*i+'│\n' print r+'└'+b*i+'┘'