char s['~~'];n,o,i;main(){for(gets(s);s[n];o+=s[n++]%5);for(;s[i];o-=s[i++]%5)printf("%f\n",o*1e2/n--);}