#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  string s;
  cin >> s;
  int cnt0 = 0, cnt1 = 0;
  for (int i = 0; i < s.length(); ++i) {
    if (s[i] == '0')
      cnt0++;
    else
      cnt1++;
  }
  if (cnt1 != cnt0) {
    printf("%d\n", 1);
    cout << s;
  } else {
    printf("%d\n", 2);
    printf("%c ", s[0]);
    for (int i = 1; i < s.length(); ++i) printf("%c", s[i]);
  }
  return 0;
}
