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