using System; class Program { static void Main() { int N = int.Parse(Console.ReadLine()); string S = Console.ReadLine(); // 長さが 2L でないなら不可能 if (N % 2 == 1) { Console.WriteLine("No"); return; } int L = N / 2; char[] P = new char[L]; char[] Q = new char[L]; for (int i = 0; i < L; i++) { P[i] = S[2 * i]; // 奇数番目 → P Q[i] = S[2 * i + 1]; // 偶数番目 → Q } Console.WriteLine("Yes"); Console.WriteLine(new string(P) + " " + new string(Q)); } }