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