#include typedef long long ll; using namespace std; int INF = 1LL << 30; int MOD = 1e9+7; main(){ string S; cin >> S; int ok = 0,ng = 0; for(char c:S)c == 'o' ? ok++ : ng++; for(char c:S){ printf("%.9lf\n", 100. * ok / (ok + ng) ); c == 'o' ? ok-- : ng--; } }