#include using namespace std; int N; string str; int main(){ cin >> str; N = str.size(); int nSafe = 0, n = N; for (int i = 0; i < N; ++i) nSafe += str[i] == 'o'; for (int i = 0; i < N; ++i){ printf("%.14f\n", double(nSafe)/double(n)); --n; nSafe -= str[i] == 'o'; } return 0; }