import strutils var S = stdin.readLine while S.len != 0: echo S.count('o') / S.len S = S[1 .. ^1]