#include #include using namespace std; int main(){ float d; float safe = 0.0; float den = 0.0; string s; cin>>s; int size = s.size(); for(int i = 0; i < size; i++){ if(s[i] == 'o') safe += 1.0; if(s[i] == 'x') den += 1.0; } for(int i = 0; i < size; i++){ d = (safe / (safe+den)); cout<