#include <bits/stdc++.h>
using namespace std;
template <typename T>
T gcd(T a, T b) {
  if (a == 0) return b;
  return gcd(b % a, a);
}
vector<long long> b_v;
void bin(unsigned long long n) {
  if (n > 1) bin(n >> 1);
  b_v.emplace_back(n & 1);
}
long long isPowerof2(long long x) { return (x && !(x & x - 1)); }
int32_t main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ostream_iterator<long long> output(cout, " ");
  long long n;
  cin >> n;
  string second;
  cin >> second;
  long long c0 = 0;
  long long c1 = 0;
  for (long long(i) = (0); i < (n); i++) {
    if (second[i] == '0')
      c0++;
    else
      c1++;
  }
  if (c0 != c1) {
    cout << 1 << '\n';
    cout << second;
  } else {
    cout << 2 << '\n';
    cout << second[0] << " ";
    for (long long(i) = (1); i < (n); i++) {
      cout << second[i];
    }
  }
  return 0;
}
