#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  string str;
  cin >> str;
  int i0 = 0, i1 = 0;
  for (int i = 0; i < str.size(); ++i) {
    if (str[i] == '0') {
      ++i0;
    } else {
      ++i1;
    }
  }
  if (i0 == i1) {
    printf("2\n");
    cout << str[0] << " " << str.substr(1, str.size() - 1);
  } else {
    printf("1\n");
    cout << str;
  }
}
