a=' /\ ','/__\\' _=' ' for x in~-input()*_:_*=2;a=[_+x+_ for x in a]+[x*2for x in a] for x in a:print x.rstrip()

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top