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