#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n, i, count1 = 0, count0 = 0;
  cin >> n;
  string s;
  cin >> s;
  for (i = 0; i < n; i++) {
    if (s[i] == '0')
      count0++;
    else
      count1++;
  }
  if (count0 != count1) {
    cout << "1" << endl << s << endl;
  } else {
    cout << "2" << endl;
    cout << s[0] << " ";
    for (i = 1; i < n; i++) cout << s[i];
    cout << endl;
  }
  return 0;
}
