#include <bits/stdc++.h>
int main() {
  int t;
  std::cin >> t;
  std::string ss;
  std::cin >> ss;
  long long _1, _0;
  _1 = _0 = 0;
  for (int i = 1; i <= t; ++i) {
    ss[i - 1] == '0' ? _0++ : _1++;
  }
  if (_0 != _1) {
    std::cout << 1 << std::endl;
    std::cout << ss << std::endl;
    return 0;
  } else {
    std::cout << 2 << std::endl;
    std::cout << ss[0] << " ";
    for (int i = 1; i < t; ++i) std::cout << ss[i];
    std::cout << std::endl;
    return 0;
  }
}
