using System; public class Hello { public static void Main() { var s = Console.ReadLine().Trim(); var sL = s.Length; var ok = sL - s.Replace("o", "").Length; var ng = sL - ok; for (int i = 0; i < sL; i++) { Console.WriteLine(getA(ok, ng)); if (s[i] == 'o') ok--; else ng--; } } public static double getA(int a, int b) => (double)a / (a + b) * 100.0; }