#include #include using namespace std; #define rep(i,n) for(long long i = 0; i < (long long)(n); i++) using ll = long long; using vll = vector; using vvll = vector; using P = pair; #define ldout fixed << setprecision(40) int main(void) { string x; cin >> x; ll n = x.length(); assert(1 <= x.size() && x.size() <= 100000); rep(i, n) assert(x[i] == 'o' || x[i] == 'x'); vll s(n+1); rep(i, n) s[i+1] = s[i] + (x[i] == 'o'); rep(i, n) { cout << ldout << (double)(s[n] - s[i]) * 100.0 / (n-i) << endl; } return 0; }