#include #include using namespace std; using namespace atcoder; using ll = long long; using ld = long double; int main() { string S; cin >> S; int N = S.size(); fenwick_tree fw(N); for (int i = 0; i < N; i++) { if (S[i] == 'o') fw.add(i, 1); } for (int i = 0; i < N; i++) { cout << fixed << setprecision(15) << (double)fw.sum(i, N) / (N - i) * 100 << endl; } return 0; }