#include <bits/stdc++.h>
#pragma warning(disable : 4996)
using namespace std;
const int maxn = 1e5 + 10;
const int N = 2e6 + 100;
char s[maxn];
int main() {
  int n;
  scanf("%d", &n);
  scanf("%s", s + 1);
  int one = 0, zero = 0;
  for (int i = 1; i <= n; ++i) {
    if (s[i] == '1')
      ++one;
    else
      ++zero;
  }
  if (zero != one) {
    printf("1\n%s\n", s + 1);
  } else {
    printf("2\n");
    printf("%c %s\n", s[1], s + 2);
  }
  return 0;
}
