#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string s;
  cin >> s;
  int counter = 0;
  for (int i = 0; i < n; i += 2) {
    if (s[i] == s[i + 1]) {
      counter++;
      if (s[i] == 'a')
        s[i] = 'b';
      else
        s[i] = 'a';
    }
  }
  cout << counter << endl;
  cout << s << endl;
  return 0;
}
