S=raw_input() box=list(S) for a in range(len(box)): safe=box.count('o') out=box.count('x') kakuritu="{0:.13f}".format(float(safe)/(safe+out)*100) print kakuritu del box[0]