#include <bits/stdc++.h>
using namespace std;
int main() {
  int len, cnt = 0, cnt2 = 0, cnt3 = 0, cnt4 = 0, i, p;
  char s[100000], s2[10000], s3[10000];
  cin >> len >> s;
  if (len == 1)
    cout << "1\n" << s;
  else {
    for (i = 0; i < len / 2; i++) {
      s2[i] = s[i];
      if (s2[i] == '1')
        cnt++;
      else
        cnt2++;
    }
    s2[i] = '\0';
    for (i = len / 2, p = 0; i < len; i++, p++) {
      s3[p] = s[i];
      if (s3[p] == '1')
        cnt3++;
      else
        cnt4++;
    }
    s3[p] = '\0';
    if ((cnt == cnt3) && (cnt2 == cnt4) && (cnt + cnt3) == (cnt4 + cnt2)) {
      for (int i = 0; i < len - 1; i++) {
        s2[i] = s[i];
      }
      s2[i + 1] = '\0';
      s3[0] = s[len - 1];
      s3[1] = '\0';
      cout << "2\n" << s2 << " " << s3;
    } else if ((cnt + cnt3) == (cnt4 + cnt2)) {
      cout << "2\n" << s2 << " " << s3;
    } else {
      cout << "1\n" << s;
    }
  }
}
