#include<bits/stdc++.h>
using namespace std;
using ll=long long;
#define all(v) v.begin(),v.end()
#define rall(v) v.rbegin(),v.rend()
template<class T> bool chmax(T &a, T b){if (a < b){a = b;return true;} else return false;}
template<class T> bool chmin(T &a, T b){if (a > b){a = b;return true;} else return false;}

void Solve(){
    int N;
    cin>>N;
    string S;
    cin>>S;
    if(N%2==0){
        cout<<"Yes\n";
        for(int i=0;i<N;i+=2)cout<<S[i];
        cout<<" ";
        for(int i=1;i<N;i+=2)cout<<S[i];
        cout<<"\n";
    }else{
        cout<<"No\n";
    }
}

int main(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    Solve();
}