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