#include <bits/stdc++.h>
char s[105];
char ans1[105];
char ans2[105];
int num_0_total = 0;
int num_1_total = 0;
int main() {
  memset(s, '\0', sizeof(s));
  memset(ans1, '\0', sizeof(s));
  memset(ans2, '\0', sizeof(s));
  int n;
  std::cin >> n;
  std::cin >> s;
  int lens = strlen(s);
  for (int i = 0; i < lens; i++) {
    if (s[i] == '0')
      num_0_total += 1;
    else
      num_1_total += 1;
  }
  if (num_0_total != num_1_total) {
    printf("%d\n", 1);
    printf("%s\n", s);
    return 0;
  }
  int num_0_left = 0;
  int num_1_left = 0;
  for (int i = 0; i < lens; i++) {
    if (s[i] == '0')
      num_0_left += 1;
    else
      num_1_left += 1;
    int num_0_right = num_0_total - num_0_left;
    int num_1_right = num_1_total - num_1_left;
    if (num_0_left != num_1_left && num_0_right != num_1_right) {
      printf("%d\n", 2);
      strncpy(ans1, s + 0, i + 1);
      strncpy(ans2, s + i + 1, lens - i - 1);
      printf("%s %s\n", ans1, ans2);
      return 0;
    }
  }
  return 0;
}
