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