#include using namespace std; typedef long long ll; typedef string str; int main() { ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0); str s; ll n; cin >> n >> s; str p1 = "", p2 = ""; if (n % 2 != 0) { cout << "No\n"; return 0; } for (ll i = 0; i < n; i++) { if (i % 2 == 0) p1 += s[i]; else p2 += s[i]; } cout << "Yes\n" << p1 << " " << p2; return 0; }