#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  cout << setprecision(12);
  int l;
  cin >> l;
  string s;
  cin >> s;
  size_t t = 0;
  for (auto c : s) t += (c == '1');
  if (t * 2 == s.length()) {
    cout << 2 << endl;
    cout << s[0] << " " << s.substr(1) << endl;
  } else {
    cout << 1 << endl;
    cout << s << endl;
  }
}
