#include <bits/stdc++.h>
int main() {
  int n, um = 0;
  char str[110];
  scanf("%d\n", &n);
  for (int i = 0; i < n; i++) {
    scanf("%c", &str[i]);
    if (str[i] == '1')
      um++;
    else
      um--;
  }
  if (um != 0) {
    printf("1\n");
    for (int i = 0; i < n; i++) {
      printf("%c", str[i]);
    }
    printf("\n");
  } else {
    printf("2\n");
    for (int i = 0; i < n - 1; i++) {
      printf("%c", str[i]);
    }
    printf(" %c\n", str[n - 1]);
  }
  return 0;
}
