#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, cnt = 0;
  string s;
  cin >> n >> s;
  for (int i = 0; i < s.size(); i++) {
    if (s[i] == '0') {
      cnt++;
    }
  }
  if (cnt * 2 == s.size()) {
    cout << 2 << "\n" << s[0] << " ";
  } else {
    cout << 1 << "\n" << s[0];
  }
  for (int i = 1; i < s.size(); i++) {
    cout << s[i];
  }
}
