#include <bits/stdc++.h>
using namespace std;
long long n, x, y;
string s;
void solve() {
  cin >> n >> s;
  for (auto i : s) {
    if (i == '0')
      x++;
    else
      y++;
  }
  if (x != y) {
    cout << 1 << "\n" << s << "\n";
    return;
  };
  cout << 2 << "\n";
  cout << s[0] << " ";
  cout << s.substr(1, n - 1) << " ";
}
void prep() {}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long t = 1;
  prep();
  cout << fixed << setprecision(12);
  while (t--) solve();
  return 0;
}
