#include <bits/stdc++.h>
using namespace std;
using namespace std;
const int M = 1e9 + 7;
const int MAXN = 5e5 + 1;
int main() {
  int t;
  scanf("%d", &t);
  string s;
  cin >> s;
  int nz = 0, no = 0;
  for (char ch : s) {
    if (ch == '0')
      nz++;
    else
      no++;
  }
  if (nz != no) {
    cout << 1 << endl;
    cout << s << endl;
  } else {
    cout << 2 << endl;
    cout << s[0] << " " << s.substr(1, t - 1);
  }
}
