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