#include using namespace std; typedef long long ll; int main() { string s; cin >> s; int n = s.size(); int o, x; o = x = 0; for (char c : s) { if (c == 'o') o++; else x++; } cout << fixed; for (char c : s) { cout << o*100 / double(o+x) << endl; if (c == 'o') o--; else x--; } return 0; }