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