#include <bits/stdc++.h>
using namespace std;
int countpos(string s, int x) {
  int fh0 = 0, fh1 = 0, sh0 = 0, sh1 = 0;
  for (int i = 0; i < x; i++) {
    if (s[i] == '1') {
      fh1++;
    } else {
      fh0++;
    }
  }
  for (int i = x; i < s.length(); i++) {
    if (s[i] == '1') {
      sh1++;
    } else {
      sh0++;
    }
  }
  if (sh1 == fh1 && sh0 == fh0) {
    return x - 1;
  } else {
    return x;
  }
}
int main() {
  int n;
  string s;
  int countz = 0, counto = 0, count = 0;
  cin >> n >> s;
  for (int i = 0; i < n; i++) {
    if (s[i] == '1') {
      counto++;
    } else {
      countz++;
    }
  }
  if (counto != countz) {
    cout << 1 << endl << s;
  } else {
    int x = countpos(s, s.length() / 2);
    cout << 2 << endl;
    for (int i = 0; i < x; i++) {
      cout << s[i];
    }
    cout << " ";
    for (int i = x; i < s.length(); i++) {
      cout << s[i];
    }
  }
}
