using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace YukiCoder { class Program { static void Main(string[] args) { var va = Console.ReadLine().ToCharArray(); int nO = va.Count(c => c == 'o'); int nX = va.Count(c => c == 'x'); int nT = nO + nX; for (int i = 0; i < nT; i++) { double dn = (double)(nO * 100) / (double)(nO + nX); Console.WriteLine(dn.ToString("F13")); if (va[i] == 'o') nO--; else nX--; } // Console.ReadLine(); } } }