#include #include #include #include using namespace std; int main() { string s; cin >> s; int y = 0, n = 0; for (int i = 0; i < s.size(); i++){ if (s[i] == 'o') y++; else n++; } for (int i = 0; i < s.size(); i++){ if (i == 0); else if (s[i-1] == 'o') y--; else n--; printf("%.7f\n", (y*1./(y+n))*100); } }