#include #include #include #include using ldouble = long double; void solve() { std::string s; std::cin >> s; ldouble p = std::count(s.begin(), s.end(), 'o'); ldouble q = s.length(); for (char c : s) { std::cout << std::fixed << std::setprecision(13) << p / q * 100 << std::endl; if (c == 'o') p -= 1; q -= 1; } } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); solve(); return 0; }