#include #include #include using namespace std; int main(){ cout << fixed << setprecision(10); string S; cin >> S; int N = S.size(); int cnt = 0; for (int i = 0; i < N; i++){ if (S[i] == 'o'){ cnt++; } } for (int i = 0; i < N; i++){ cout << (double) cnt / (N - 1) * 100 << endl; if (S[i] == 'o'){ cnt--; } } }