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