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