#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  long long n;
  cin >> n;
  vector<char> arr(n);
  long long forZero = 0, forOne = 0;
  for (long long i = 0; i < n; ++i) {
    cin >> arr[i];
    if (arr[i] == '1') {
      forOne += 1;
    } else {
      forZero += 1;
    }
  }
  if (forOne != forZero) {
    cout << "1\n";
    for (char e : arr) {
      cout << e;
    }
  } else {
    cout << "2\n";
    for (long long i = 0; i < n - 1; ++i) {
      cout << arr[i];
    }
    cout << ' ' << arr[n - 1];
  }
}
