System.in.eachLine{n=it as int printf"${n<(b=1023)?n:"%.2f %cB"}\n",n/b/b**(x=n>b*b?1:0),75+x*2}