import std.stdio, std.array, std.algorithm;

void main() {
	readln;
	auto str = readln[0 .. $-1];
	if (str.length % 2 == 1) writeln("No");
	else {
		string str1, str2;
		foreach (i, c; str) {
			if (i%2 == 0) str1 ~= c;
			else str2 ~= c;
		}
		writeln("Yes\n", str1, " ", str2);
	}
}