#include #include #include #include #include #include #include #include #include #include #include #include using namespace atcoder; using namespace std; #define rep(i, n) for (int i = 0; i < (n); ++i) #define Yes cout << "Yes" << endl #define No cout << "No" << endl #define vl vector #define vvl vector> #define vvvl vector>> #define vc vector #define vvc vector> #define vb vector #define vvb vector> #define nall(a) a.begin(), a.end() #define rall(a) a.rbegin(), a.rend() #define chmax(x, y) x = max(x, y) #define chmin(x, y) x = min(x, y) #define yu_qgrid(x, y) ((x) * (x) + (y) * (y)) // ユークリッド距離 (sqrtはしない) #define mannhattan(x1, x2, y1, y2) abs(x1 - x2) + abs(y1 - y2) #define PI 3.14159265359 using ll = long long; using mint = modint1000000007; // using mint = modint998244353; using P = pair; vl di = {1, 0, -1, 0}; // 下、左、上、右 vl dj = {0, -1, 0, 1}; bool out_grid(ll i, ll j, ll h, ll w) { return !(0 <= i && i < h && 0 <= j && j < w); } ll INF = 1e18; int main(){ ll n; string s; cin >> n >> s; if(s.size()%2 == 1){ cout << "No" << endl; return 0; } string p = ""; string q = ""; rep(i,n){ p.push_back(s[2*i]); q.push_back(s[2*i+1]); } Yes; cout << p << " " << q << endl; return 0; }