#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n;
  string s;
  cin >> n >> 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 << '\n' << s << endl;
  else {
    cout << 2 << endl;
    cout << s[0] << " ";
    s.erase(0, 1);
    cout << s << endl;
  }
}
