#include #include #include #include #include #include #include #include #include #include #include #define rep(i,a,b) for(int i=a;i=b;i--) #define fore(i,a) for(auto &i:a) #define all(x) (x).begin(),(x).end() using namespace std; int main() { string s; cin >> s; int l = s.length(); int cnt = 0; for (char c: s) { if (c == 'o') { ++cnt; } } for (int i = 0; i < s.length(); i++) { cout << (double)cnt*100 / l-- << endl; if (s[i]=='o') { --cnt; } } }