#include <bits/stdc++.h>
int main() {
  int len;
  scanf("%d", &len);
  char matrix[len];
  scanf("%s", matrix);
  int ones = 0, zeros = 0, count = 1;
  for (int i = 0; i < len; i++) {
    if (matrix[i] == '1')
      ones++;
    else
      zeros++;
  }
  if (ones != zeros)
    printf("%d\n%s\n", count, matrix);
  else {
    printf("2\n");
    printf("%c ", matrix[0]);
    for (int j = 1; j < len; j++) {
      printf("%c", matrix[j]);
    }
    printf("\n");
  }
  return 0;
}
