#include <bits/stdc++.h>
using namespace std;
int k, l;
int main() {
  int i, n;
  scanf("%d", &n);
  getchar();
  char ch[1000];
  scanf("%s", ch);
  for (i = 0; i < n; ++i) {
    if (ch[i] == '0')
      k++;
    else
      l++;
  }
  if (n % 2 == 1 || k != l) {
    printf("1\n%s\n", ch);
    return 0;
  }
  cout << 2 << endl;
  for (i = 0; i < n; ++i) {
    printf("%c", ch[i]);
    if (ch[i] == '0')
      k--;
    else
      l--;
    if (k == 0 || l == 0) break;
  }
  i++;
  cout << " ";
  for (int j = i; j < n; ++j) printf("%c", ch[j]);
  cout << endl;
  return 0;
}
