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