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