#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long int t = 1;
  while (t--) {
    long long int n, i;
    cin >> n;
    string s;
    cin >> s;
    long long int c = 0, d = 0;
    for (i = 0; i < n; i++) {
      if (s[i] == '0')
        c++;
      else
        d++;
    }
    if (c != d)
      cout << 1 << "\n" << s << "\n";
    else
      cout << 2 << "\n" << s[0] << " " << s.substr(1) << "\n";
  }
  return 0;
}
