#include <bits/stdc++.h>
using namespace std;
const int N = 1e9;
int main() {
  int n, one = 0, zero = 0, o = 0, z = 0;
  string s;
  cin >> n >> s;
  for (int i = 0; i < n; i++) {
    if (s[i] == '0')
      zero++;
    else
      one++;
  }
  if (one != zero) {
    cout << "1" << endl << s << endl;
    return 0;
  }
  z = zero;
  o = one;
  for (int i = 0; i < n; i++) {
    if (s[i] == '0')
      z--;
    else
      o--;
    if (zero - z == one - o)
      continue;
    else {
      string x = s.substr(0, i + 1), t = s.substr(i + 1, n);
      if (i != n - 1) cout << "2" << endl << x << " " << t << endl;
      return 0;
    }
  }
  return 0;
}
