open System type Sol() = member this.Solve() = let s = stdin.ReadLine() let mutable max = 0 let mutable cnt = 0 let N = Seq.length s for i = 0 to (N-1) do match i with | 0 -> ( if s.[0] = '…' then (cnt <- 1 ; max <- 1) else ( cnt <- 0 ) ) | _ -> ( if s.[i] = '…' then (cnt <- (cnt+1) ; max <- if cnt > max then cnt else max ) else ( cnt <- 0 ) ) printfn "%d" max let mySol = new Sol() mySol.Solve()