#include <bits/stdc++.h>
using namespace std;
void Solve() {
  int n, one = 0, zero = 0;
  string s;
  cin >> n >> s;
  for (int i = 0; i < n; i++)
    if (s[i] == '1')
      one++;
    else
      zero++;
  if (one == zero)
    cout << 2 << endl << s.substr(0, n - 1) << ' ' << s[n - 1];
  else
    cout << 1 << endl << s;
}
int main() { Solve(); }
