using System;
namespace P3_10
{
    class Program
    {
      static void Main(string[] args)
        {
            Console.WriteLine("һַ:");
            string text = Console.ReadLine();
            int COUNT = 0;				
            foreach (char ch in text)
            {
                if (ch >= 'a' && ch <= 'z' || ch >= 'A' && ch <= 'Z')
                    	COUNT ++;
            }
            Console.WriteLine("ַ{0}", COUNT); 
            Console.ReadLine();
     }
    }
}
