#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  char s[10005];
  scanf("%d", &n);
  scanf("%s", s);
  int one = 0, zero = 0;
  int len = strlen(s);
  for (int i = 0; i < n; i++) {
    if (s[i] == '0')
      zero++;
    else
      one++;
  }
  if (zero != one) {
    printf("1\n%s\n", s);
  } else {
    printf("2\n");
    for (int i = 0; i < len - 1; i++) {
      printf("%c", s[i]);
    }
    printf(" %c", s[len - 1]);
  }
  return 0;
}
