#include <bits/stdc++.h>
using namespace std;
template <class FR>
inline FR max(FR &a, const FR &b) {
  return (a > b) ? a : b;
}
template <class FR>
inline FR min(FR &a, const FR &b) {
  return (a > b) ? b : a;
}
template <class FR>
inline FR eqMax(FR &a, FR b) {
  return (a > b) ? a : a = b;
}
template <class FR>
inline FR eqMin(FR a, FR b) {
  return (a > b) ? a = b : a;
}
int main() {
  ios_base::sync_with_stdio(false);
  int n;
  cin >> n;
  string s;
  cin >> s;
  int cnt0 = 0, cnt1 = 0;
  for (int i = 0; i < s.size(); i++) {
    if (s[i] == '0') {
      cnt0++;
    } else {
      cnt1++;
    };
  }
  if (cnt1 != cnt0) {
    cout << 1 << endl;
    cout << s << endl;
    return 0;
  }
  cout << 2 << endl;
  cout << s[0] << ' ';
  reverse(s.begin(), s.end());
  s.pop_back();
  reverse(s.begin(), s.end());
  cout << s << endl;
  return 0;
}
