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