import strutils, math var s = stdin.readLine while s.len > 0: echo round(s.count('o') / s.len * 100, 7) s = s[1 ..< s.len]