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