#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  string str;
  cin >> n >> str;
  long long c1 = 0;
  long long c2 = 0;
  for (long long i = 0; i < n; i++) {
    if (str[i] == '0')
      c1++;
    else
      c2++;
  }
  if (c1 == c2) {
    cout << 2 << "\n";
    cout << str[0] << " ";
    for (long long i = 1; i < n; i++) cout << str[i];
  } else {
    cout << 1 << "\n" << str << "\n";
  }
  return 0;
}
