#include #define rep(i,n) for(int i = 0; i < (n); i++) using namespace std; typedef long long ll; int main(){ cin.tie(0); ios::sync_with_stdio(0); int o = 0, x = 0; string s; cin >> s; for(char c : s) { if(c == 'o') o++; if(c == 'x') x++; } rep(i,int(s.size())) { cout << fixed << setprecision(20) << double(o) / double(o + x) * 100.0 << '\n'; if(s[i] == 'o') o--; if(s[i] == 'x') x--; } }