using System; class No671{ static void Main(){ Console.WriteLine(Console.ReadLine().Length-10); } }