#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  string s;
  cin >> s;
  int count = 0;
  for (int i = 0; i < k; ++i)
    if (s[i] == 49) ++count;
  if ((k % 2 == 0 && count != k / 2) || k % 2 != 0) {
    cout << "1"
         << "\n"
         << s;
    return 0;
  }
  if (k == 1) {
    cout << "1"
         << "\n"
         << "1";
    return 0;
  }
  if (k % 2 == 0) {
    cout << "2"
         << "\n";
    cout << s[0] << " ";
    cout << s.substr(1, k - 1);
  }
  return 0;
}
