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