#include <bits/stdc++.h>
using namespace std;
long long MAX = 1000005;
long long mod = 1e9 + 7;
int main() {
  long long n;
  cin >> n;
  string s;
  cin >> s;
  long long flag = 0;
  for (long long i = 0; i < n; i = i + 1) {
    if (s[i] == '0')
      flag--;
    else
      flag++;
  }
  if (n == 1) {
    cout << 1 << endl;
    cout << s << endl;
    exit(0);
  }
  if (flag != 0) {
    cout << 1 << endl;
    cout << s << endl;
  } else {
    cout << 2 << endl;
    for (long long i = 0; i < n - 1; i = i + 1) cout << s[i];
    cout << " ";
    cout << s[n - 1];
    cout << endl;
  }
}
