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