a=1 n=2**gets.to_i loop{puts' '*(n-=1)+('%b'%a).tr('0',' ').gsub(/1.1.?/,'/__\\').gsub(/.?1/,'/\\') a^=a*4}