#include using namespace std; typedef long long ll; int main() { string s; cin >> s; int n = s.size(); int o = 0; for (int i = 0; i < n; ++i) if (s[i] == 'o') o++; int x = n - o; for (int i = 0; i < n; ++i) { double ans = (double)o / (o + x); ans *= 100; cout << fixed << setprecision(10) << ans << '\n'; if (s[i] == 'o') o--; else x--; } return 0; }