S = input().strip() o_count = S.count('o') x_count = len(S) - o_count for c in S: total = o_count + x_count probability = (o_count / total) * 100 if total != 0 else 0.0 # Ensure that even integers are printed with decimal places print("{0:.12f}".format(probability)) if c == 'o': o_count -= 1 else: x_count -= 1