while 1:n=input();b=1023.;x=n>b*b;print["%.2f %cB"%(n*b**~x,75+2*x),n][n<b]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page