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