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