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