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