import sys def a(str): print(str, file=sys.stderr) o_count = str.count("o") print(o_count, file=sys.stderr) x_count = str.count("x") print(x_count, file=sys.stderr) ret = o_count / (o_count + x_count ) * 100 print(ret) first = input() for i in range(len(first)): a(first) first = first[1:]