import strutils proc printf(str: cstring) {.header: "", importc: "printf", varargs.} let s: string = stdin.readline n: int = s.len var a: int = s.count('o') b: int = n - a ans: float for i in 0..