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