#include using namespace std; #define i64 long long #define rep(i,s,e) for(int (i) = (s);(i) <= (e);(i)++) int cou[2]; string s; int main(){ cin >> s; for(char c : s) cou[c == 'x']++; cout << fixed << setprecision(10); for(char c : s){ cout << 1.0 * cou[0] / (cou[0] + cou[1]) * 100 << endl; cou[c == 'x']--; } }