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