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