#include <bits/stdc++.h>
using namespace std;
void solve() {
  long long n;
  string s;
  cin >> n;
  cin >> s;
  if (n % 2 != 0) {
    cout << "1" << endl;
    cout << s;
  } else {
    long long cnt1 = 0, cnt0 = 0;
    for (long long i = 0; i < n; i++) {
      if (s[i] == '1')
        cnt1++;
      else
        cnt0++;
    }
    if (cnt1 != cnt0) {
      cout << "1" << endl;
      cout << s;
    } else {
      cout << "2" << endl;
      cout << s[0] << " ";
      for (long long i = 1; i < n; i++) cout << s[i];
    }
  }
}
signed main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long t;
  t = 1;
  while (t--) {
    solve();
  }
}
