using System; public class Hello { static void Main() { var s = Console.ReadLine().Trim(); var sL = s.Length; Console.WriteLine((sL + 1) / 2); } }