import sequtils,strutils proc printf(formatstr: cstring){.header: "", varargs.} let S = stdin.readLine() let l = S.len() var left = S.count('o') for i,s in S: let res = 100 * left / (l-i) printf("%.7f\n",res) if s == 'o' : left -= 1