#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  string s;
  cin >> n >> s;
  int sum = 0;
  for (int i = 0; i < n; i++) {
    if (s[i] == '1') {
      sum++;
    } else {
      sum--;
    }
  }
  if (sum == 0) {
    cout << 2 << endl << s.substr(0, n - 1) << " " << s[n - 1] << endl;
  } else {
    cout << 1 << endl << s << endl;
  }
}
