#include using namespace std; using int64 = long long; const int mod = 1e9 + 7; int main() { string S; cin >> S; int batu = 0; for(int i = 0; i < S.size(); i++) { batu += S[i] == 'x'; } for(int i = 0; i < S.size(); i++) { int rest = S.size() - i; cout << fixed << setprecision(10) << 100.0 * (rest - batu) / rest << endl; batu -= S[i] == 'x'; } }