#include <bits/stdc++.h>
using namespace std;
void solve() {
  int n;
  cin >> n;
  string s;
  cin >> s;
  int one = 0, zero = 0;
  for (int i = 0; i < n; i++) {
    if (s[i] == '1')
      one++;
    else
      zero++;
  }
  if (one != zero) {
    cout << 1 << endl;
    cout << s << endl;
  } else {
    cout << 2 << endl;
    cout << s[0] << " " << s.substr(1, (int)s.size() - 1);
  }
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int t;
  t = 1;
  while (t--) {
    solve();
  }
}
