#include <bits/stdc++.h>
using namespace std;
long long int ara[1000006];
int main() {
  long long int t, zero = 0, one = 0;
  scanf("%lld", &t);
  string str;
  cin >> str;
  for (long long int i = 0; i < t; i++) {
    if (str[i] == '0')
      zero++;
    else
      one++;
  }
  if (zero == one) {
    cout << "2" << endl;
    for (long long int i = 0; i < t - 1; i++) cout << str[i];
    cout << " " << str[t - 1] << endl;
  } else {
    cout << "1" << endl;
    for (long long int i = 0; i < t; i++) cout << str[i];
    cout << endl;
  }
  return 0;
}
