#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int i, count1 = 0, count0 = 0, n, j;
  string s1;
  cin >> n;
  cin >> s1;
  for (i = 0; s1[i]; i++) {
    if (s1[i] == '0')
      count0++;
    else
      count1++;
  }
  if (abs(count1 - count0)) return cout << 1 << "\n" << s1, 0;
  if (s1.size() == 2)
    return cout << 2 << "\n" << s1[0] << " " << s1[1], 0;
  else {
    cout << 2 << "\n";
    if (n / 2 & 1) {
      for (i = 0; i <= s1.size() / 2 - 1; i++) cout << s1[i];
      cout << " ";
      for (i = s1.size() / 2; i < s1.size(); i++) cout << s1[i];
    } else {
      for (i = 0; i < s1.size() / 2 - 1; i++) cout << s1[i];
      cout << " ";
      for (i = s1.size() / 2 - 1; i < s1.size(); i++) cout << s1[i];
    }
  }
  return 0;
}
