#include <bits/stdc++.h>
using namespace std;
bool same(string a) {
  int cnt1 = 0, cnt2 = 0;
  for (int i = 0; a[i]; i++) {
    if (a[i] == '1')
      cnt1++;
    else
      cnt2++;
  }
  return cnt1 == cnt2;
}
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0);
  int n;
  cin >> n;
  string s;
  cin >> s;
  if (!same(s)) {
    cout << 1 << endl;
    cout << s;
    exit(0);
  }
  cout << 2 << endl;
  cout << s.substr(0, s.length() - 1) << " " << s[s.length() - 1];
  return 0;
}
