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