#include <bits/stdc++.h>
using namespace std;
double const eps = 1e-8;
using ll = long long;
using ii = pair<int, int>;
int n, m;
string s;
int main() {
  ios::sync_with_stdio(false);
  cin >> n;
  cin >> s;
  int ones = 0;
  int zeroes = 0;
  for (auto c : s) {
    if (c == '0') zeroes += 1;
    if (c == '1') ones += 1;
  }
  if (ones == zeroes) {
    cout << 2 << "\n";
    cout << s[0] << " ";
    for (int i = 1; i < n; ++i) {
      cout << s[i];
    }
    cout << endl;
  } else {
    cout << 1 << endl;
    for (int i = 0; i < n; ++i) {
      cout << s[i] << "";
    }
    cout << endl;
  }
  return 0;
}
