#include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
int main() {
  ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  int n;
  cin >> n;
  char str[n + 2];
  cin >> str;
  int zero = 0;
  for (int i = 0; i < n; ++i) {
    if (str[i] == '0') zero += 1;
  }
  if (zero != (n - zero)) {
    cout << 1 << "\n" << str;
  } else {
    char c = str[n - 1];
    str[n - 1] = 0;
    cout << 2 << "\n" << str << " " << c << "\n";
  }
}
