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