#include <bits/stdc++.h>
using namespace std;
const int MAXN = 105;
const int INF = 0x3f3f3f3f;
char s[MAXN];
int cnt[2];
int main() {
  int n;
  scanf("%d", &n);
  scanf("%s", s + 1);
  cnt[0] = cnt[1] = 0;
  for (int i = 1; i <= n; ++i) {
    ++cnt[s[i] - '0'];
  }
  if (cnt[0] != cnt[1] || cnt[0] == 0 || cnt[1] == 0) {
    printf("1\n");
    printf("%s", s + 1);
  } else {
    printf("2\n");
    printf("%c ", s[1]);
    printf("%s\n", s + 2);
  }
  return 0;
}
