l=[] n=input() while n>0:l+=[n%2];n=n/2 l.reverse() print''.join(map(str,l))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page