using System; using System.Diagnostics; namespace yukicoder { class Program { static void Main(string[] args) { //文字入力 string A = Console.ReadLine(); string B = Console.ReadLine(); //文字入力用配列 string[] a = new string[A.Length]; string[] b = new string[B.Length]; //文字列の一部分の取得 for(int i=0;i=1) //{ // flg = true; //} //count = 0; } if (flg == false) { Console.WriteLine("NO"); } else { Console.WriteLine("YES"); } //for (int i = 0; i < A.Length; i++) //{ // if (s[i] == null) // { // Console.WriteLine("NO"); // break; // } // else if(s[i]==) // { // Console.WriteLine("YES"); // break; // } //} } } }