#include <bits/stdc++.h>
using namespace std;
signed main() {
  std ::ios_base ::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  long long n;
  cin >> n;
  string s;
  cin >> s;
  long long a[2] = {0};
  for (long long i = 0; i < n; i++) a[s[i] - 48]++;
  if (a[0] == a[1]) {
    cout << "2\n" << s[0] << " ";
    for (long long i = 1; i < n; i++) cout << s[i];
  } else {
    cout << "1\n" << s;
  }
}
