s = list(input()) for i in range(len(s)): o = s.count('o') x = s.count('x') print(o / (o+x) * 100) s.pop(0)