#include <bits/stdc++.h>
using namespace std;
const long long int INF = 1e14;
const long long int mod = 1e9 + 7;
long long int power(long long int x, long long int y) {
  if (y == 0) return 1;
  long long int a = power(x, y / 2);
  a = (a * a) % mod;
  if (y % 2) a = (a * x % mod) % mod;
  return a;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int t, x;
  int i, j, k = 0, n, l, r, m, low, high, y, mid, cnt = 1, sa = 0, sb = 0, a, b,
            c, q, flag = 0, c0 = 0, c1 = 0;
  cin >> n;
  string s, s1, s2;
  cin >> s;
  n = s.length();
  for (i = 0; i < s.length(); i++) {
    if (s[i] == '0')
      c0++;
    else
      c1++;
  }
  if (c0 != c1) {
    cout << "1" << endl;
    cout << s << endl;
  } else {
    cout << "2" << endl;
    for (i = 0; i < n - 1; i++) cout << s[i];
    cout << " ";
    cout << s[n - 1] << endl;
  }
  return 0;
}
