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