using System; namespace yukicoder { class Program { static void Main(string[] args) { var N = Console.ReadLine(); Console.WriteLine(N.Length == 2 ? "Yes" : "No"); } } }