import Foundation var s = readLine()! var n = s.count var c = n - s.replacingOccurrences(of: "o", with: "").count for i in s{ print(Double(c) * 100 / Double(n)) n -= 1 c -= i == "o" ? 1 : 0 }