#include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
const int mod = 1e9 + 7;
const double eps = 1e-8;
const int N = 2e5 + 5;
int dir[4][2] = {0, 1, 0, -1, 1, 0, -1, 0};
int mon[13] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
int main() {
  int n;
  scanf("%d", &n);
  string str;
  cin >> str;
  int len = str.length();
  if (len == 1) {
    puts("1");
    cout << str << endl;
  } else {
    int one = 0, zero = 0;
    for (int i = (0); i < (len); i++) {
      if (str[i] - '0' == 0)
        zero++;
      else
        one++;
    }
    if (zero != one) {
      puts("1");
      cout << str << endl;
    } else {
      puts("2");
      cout << str[0] << " ";
      for (int i = (1); i < (len); i++) cout << str[i];
      puts("");
    }
  }
  return 0;
}
