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