#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long int T, n, m, k, i, count = 0, j;
  vector<long long int> b;
  string a;
  T = 1;
  while (T--) {
    cin >> n;
    cin >> a;
    for (j = 0; j < n; j++) {
      count += (a[j] - '0');
    }
    if (count * 2 == n) {
      cout << "2\n" << a[0] << " ";
      for (i = 1; i < n; i++) {
        cout << a[i];
      }
      cout << "\n";
    } else {
      cout << "1\n" << a << "\n";
    }
  }
  return 0;
}
