#include <bits/stdc++.h>   using namespace std;   int main() {     int n, i, o = 0, z = 0;     cin >> n;     string s;     cin >> s;     for (i = 0; i < n; i++) {       if (s[i] ==  1 )         o++;       else         z++;     }     if (z != o) {       cout << 1 << endl << s;     } else {       cout << 2 << endl;       for (i = 0; i < n - 1; i++) cout << s[i];       cout <<     << s[n - 1];     }   }   