#include <iostream> #include <iomanip> #include <cassert> #include <vector> #include <algorithm> #include <utility> #include <numeric> // #include "Src/Utility/BinarySearch.hpp" // #include "Src/Sequence/CompressedSequence.hpp" // #include "Src/Sequence/RunLengthEncoding.hpp" // using namespace zawa; // #include "atcoder/modint" // using mint = atcoder::modint998244353; int N; std::string S; int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); std::cout.tie(nullptr); std::cin >> N >> S; if (S.size() % 2) { std::cout << "No\n"; } else { std::string X, Y; for (int i = 0 ; i < (int)S.size() ; i++) { if (i % 2 == 0) X += S[i]; else Y += S[i]; } std::cout << "Yes\n"; std::cout << X << ' ' << Y << '\n'; } }