var s:string;l,i,j:word;begin read(s);if s>^,then s:='long';l:=length(s);for i:=0to 2pow l do for j:=1to l do write(s[j]:i shr(l-j)and 1,^j:j div l)end.
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page