#include <bits/stdc++.h>
using namespace std;
int main() {
  int x = 0, y = 0;
  int n;
  char a[205] = {'\0'};
  scanf("%d", &n);
  scanf("%s", a + 1);
  for (int i = 1; i <= n; i++) {
    if (a[i] == '0')
      x++;
    else
      y++;
  }
  if (x == y) {
    printf("2\n");
    printf("%c ", a[1]);
    for (int i = 2; i <= n; i++) printf("%c", a[i]);
    printf("\n");
  } else {
    printf("1\n");
    for (int i = 1; i <= n; i++) printf("%c", a[i]);
    printf("\n");
  }
}
