#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); string S; cin >> S; const int N = S.size(); int o = 0, x = 0; for (const auto &e : S) { if (e == 'o') o++; if (e == 'x') x++; } for (int i = 0; i < N; i++) { cout << fixed << setprecision(10) << static_cast(100 * o) / (o + x) << '\n'; if (S[i] == 'o') o--; if (S[i] == 'x') x--; } return 0; }