#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  char* arr;
  int* sarr;
  cin >> n;
  arr = new char[n];
  sarr = new int[n];
  int n1 = 0;
  for (int i = 0; i < n; i++) {
    char x;
    cin >> x;
    arr[i] = x;
    if (x == '1') {
      n1++;
    }
  }
  if (n1 != n - n1) {
    cout << "1" << endl;
    for (int i = 0; i < n; i++) {
      cout << arr[i];
    }
    return 0;
  }
  cout << "2" << endl;
  for (int i = 0; i < n - 1; i++) {
    cout << arr[i];
  }
  cout << " " << arr[n - 1];
  return 0;
}
