#include using namespace std; int main() { string S; cin >> S; int y = 0, n = 0; for (int i = 0; i < S.size(); i++) (S.at(i) == 'o') ? y++ : n++; for (int i = 0; i < S.size(); i++) { cout << fixed << setprecision(6) << (double)y / (y + n) * 100 << "\n"; (S.at(i) == 'o') ? y-- : n--; } }