open System; let dprintfn fmt = Printf.kprintf Diagnostics.Debug.WriteLine fmt [] let main argv = let a = Console.ReadLine().Trim().Split('n').Length Console.WriteLine(a - 1) 0