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