s = input() o = s.count("o") x = s.count("x") for c in s: print(format(o / (o + x) * 100, ".8f")) if c == "o": o -= 1 else: x -= 1