Nikolay got a string $s$ of even length $n$, which consists only of lowercase Latin letters 'a' and 'b'. Its positions are numbered from $1$ to $n$.

He wants to modify his string so that every its prefix of even length has an equal amount of letters 'a' and 'b'. To achieve that, Nikolay can perform the following operation arbitrary number of times (possibly, zero): choose some position in his string and replace the letter on this position with the other letter (i.e. replace 'a' with 'b' or replace 'b' with 'a'). Nikolay can use no letters except 'a' and 'b'.

The prefix of string $s$ of length $l$ ($1 \le l \le n$) is a string $s[1..l]$.

For example, for the string $s=$"abba" there are two prefixes of the even length. The first is $s[1\dots2]=$"ab" and the second $s[1\dots4]=$"abba". Both of them have the same number of 'a' and 'b'.

Your task is to calculate the minimum number of operations Nikolay has to perform with the string $s$ to modify it so that every its prefix of even length has an equal amount of letters 'a' and 'b'.


-----Input-----

The first line of the input contains one even integer $n$ $(2 \le n \le 2\cdot10^{5})$ — the length of string $s$.

The second line of the input contains the string $s$ of length $n$, which consists only of lowercase Latin letters 'a' and 'b'.


-----Output-----

In the first line print the minimum number of operations Nikolay has to perform with the string $s$ to modify it so that every its prefix of even length has an equal amount of letters 'a' and 'b'.

In the second line print the string Nikolay obtains after applying all the operations. If there are multiple answers, you can print any of them.


-----Examples-----
Input
4
bbbb

Output
2
abba

Input
6
ababab

Output
0
ababab

Input
2
aa

Output
1
ba



-----Note-----

In the first example Nikolay has to perform two operations. For example, he can replace the first 'b' with 'a' and the last 'b' with 'a'. 

In the second example Nikolay doesn't need to do anything because each prefix of an even length of the initial string already contains an equal amount of letters 'a' and 'b'.

Difficulty: introductory

Starter code:

Solutions:
import sys
input = sys.stdin.readline

n=int(input())
s=list(input().strip())

ANS=0
for i in range(0,n,2):
    if s[i]==s[i+1]:
        ANS+=1
        if s[i]=="a":
            s[i]="b"
        else:
            s[i]="a"

print(ANS)
print("".join(s))


'''input
2
aa


'''
import sys
from collections import defaultdict as dd
from itertools import  permutations as pp
from itertools import combinations as cc
from collections import Counter as ccd
from random import randint as rd
from bisect import bisect_left as bl
from  heapq import heappush as hpush
from heapq import heappop as hpop
mod=10**9+7

def ri(flag=0):
	if flag==0:
		return [int(i) for i in sys.stdin.readline().split()]
	else:
		return int(sys.stdin.readline())



n = ri(1)
a = list(input())
ans =0

for i in range(0,n,2):
	if a[i]!=a[i+1]:
		pass
	else:
		if a[i]=="a":
			a[i]="b"
		else:
			a[i]="a"
		ans+=1

print(ans)
print("".join(a))


import sys
input = lambda: sys.stdin.readline().strip()

def opp(s):
    if s=='a': return 'b'
    else: return 'a'

n = int(input())
s = list(input())
cnt = 0
for i in range(0, n, 2):
    if s[i]!=opp(s[i+1]):
        cnt+=1
        s[i] = opp(s[i+1])
print(cnt)
print(''.join(s))


n = int(input())
s = input()
new_s = [0] * len(s)
ans = 0
for i in range(0, len(s), 2):
    if s[i] == s[i + 1]:
        ans += 1
        new_s[i] = s[i]
        new_s[i+1] = 'b' if s[i] == 'a' else 'a'
    else:
        new_s[i] = s[i]
        new_s[i+1] = s[i + 1]
print(ans)
print(''.join(new_s))

n = int(input())
s = input()
a = []
d = 0
for i in range(0,n,2):
    if s[ i ] == s[ i + 1 ]:
        a.append( 'a' )
        a.append( 'b' )
        d += 1
    else:
        a.append( s[ i ] )
        a.append( s[ i + 1 ] )

print( d )
print( "".join(a) )


n=int(input())
a=input()
res=0
res2=''
for i in range (0,len(a),2):
    if a[i]==a[i+1]:
        res+=1
        res2+='ab'
    else:
        res2+=a[i]
        res2+=a[i+1]
print(res)
print(res2)

from sys import stdin, stdout  



input()

S = list(input())

ct = 0

for i in range(0, len(S), 2):
    if S[i] == S[i+1]:
        ct += 1
        if S[i] == 'a':
            S[i] = 'b'
        else:
            S[i] = 'a'
        

print(ct)

print("".join(S))

n = int(input())
s = list(input())
cnt = 0
for i in range(0, n, 2):
    if s[i] == 'a' and s[i + 1] == 'a':
        cnt += 1
        s[i] = 'b'
    elif s[i] == 'b' and s[i + 1] == 'b':
        cnt += 1
        s[i] = 'a'
print(cnt)
print(''.join(s))


n = int(input())
l = [*input()]
a = b = 0
cnt = 0
for i in range(n):
    if l[i] == 'a': a += 1
    else: b += 1
    if i & 1 and a != b:
        cnt += 1
        if a > b: l[i], a = 'b', b
        else: l[i], b = 'a', a
print(cnt)
print(''.join(l))

n = int(input())
a = list(map(lambda x: 0 if x == "a" else 1, input()))
bal = 0
for i in range(1, n, 2):
    if a[i] == a[i - 1]:
        bal += 1
        a[i] = (a[i - 1] + 1) % 2
print(bal)
print(''.join("a" if a[i] == 0 else "b" for i in range(n)))

n = int(input())
s = str(input())
k = 0
new = ''

for i in range(0, n-1, 2):
    if s[i:i + 2] == 'ab':
        new += 'ab'
        continue
    if s[i:i + 2] == 'ba':
        new += 'ba'
        continue
    else:
        k += 1
        new += 'ab'

print(k)
print(new)


N = int(input())
S = list(input())
k = N//2
ans = 0
T = ''
for i in range(k):
    if S[2*i] == S[2*i+1]:
        ans += 1
        T += 'ab'
    else:
        T += S[2*i] + S[2*i+1]
print(ans)
print(T)

n = int(input())
li = list(input())

ans = []
cnt = 0
for i in range(n//2):
    if li[2*i] == li[2*i + 1]:
        if li[2*i] == "a":
            ans.append("b")
            ans.append(li[2*i + 1])
            cnt += 1
        if li[2*i] == "b":
            ans.append("a")
            ans.append(li[2*i + 1])
            cnt += 1     
    else:
        ans.append(li[2*i])
        ans.append(li[2*i + 1])
print(cnt)
print("".join(map(str, ans)))
  



from bisect import *
from collections import *
from itertools import *
import functools
import sys
import math
from decimal import *
from copy import *
from heapq import *
getcontext().prec = 30
MAX = sys.maxsize
MAXN = 10**6+1
MOD = 10**9+7
spf = [i for i in range(MAXN)]
def sieve():
    for i in range(2,MAXN,2):
        spf[i] = 2
    for i in range(3,int(MAXN**0.5)+1):
        if spf[i]==i:
            for j in range(i*i,MAXN,i):
                if spf[j]==j:
                    spf[j]=i

def mhd(a,b):
    return abs(a[0]-b[0])+abs(b[1]-a[1])

def charIN(x= ' '):
    return(sys.stdin.readline().strip().split(x))

def arrIN(x = ' '):
    return list(map(int,sys.stdin.readline().strip().split(x)))

def eld(x,y):
    a = y[0]-x[0]
    b = x[1]-y[1]
    return (a*a+b*b)**0.5

def lgcd(a):
    g = a[0]
    for i in range(1,len(a)):
        g = math.gcd(g,a[i])
    return g

def ms(a):
    msf = -MAX
    meh = 0
    st = en = be = 0
    for i in range(len(a)):
        meh+=a[i]
        if msf<meh:
            msf = meh
            st = be
            en = i
        if meh<0:
            meh = 0
            be = i+1
    return msf,st,en

def ncr(n,r):
    num=den=1
    for i in range(r):
        num = (num*(n-i))%MOD
        den = (den*(i+1))%MOD

    return (num*(pow(den,MOD-2,MOD)))%MOD



def flush():
    return sys.stdout.flush()

'''*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*'''
n = int(input())
s = '.'+input()
ans = 0
s = [i for i in s]
for i in range(2,n+1,2):
    if i%2==0:
        if s[i]==s[i-1]:
            if s[i]=='a':
                s[i-1]='b'
            else:
                s[i-1] = 'a'
            ans+=1
print(ans)
print(''.join(s[1:]))

n = int(input())
s = list(input())
pref = [0]
k = 0
for i in range(0,n-1,2):
    if s[i]==s[i+1]:
        k+=1
        if s[i]=='b':
            s[i]='a'
        else:
            s[i]='b'

print(k)
print(''.join(s))

n = int(input())
a = list(input())
# ans = a.copy()
l = 0
for i in range(1, n, 2):
    if a[i] == a[i - 1]:
        l += 1
        a[i] = 'a' if a[i - 1] == 'b' else 'b'

print(l)
print(''.join(a))

elem = int(input())
string = input()
ar = []
for x in range(len(string)):
    ar.append(string[x])

first = 'a'
second = 'a'
count = 0
new_ar = []
for x in range(len(ar)):
    if x%2==0:
        first = ar[x]
        second = ar[x+1]
        if first != second:
            new_ar.append(first)
            new_ar.append(second)
        else:
            count=count+1
            new_ar.append('a')
            new_ar.append('b')
print(count)
print(''.join(str(i) for i in new_ar))

input()
s = input()

changes = 0
balance = 0
res = []

for i in range(len(s)):
    balance += 1 if s[i] == 'a' else -1
    res.append(s[i])

    if i % 2 == 1 and balance != 0:
        changes += 1
        res[-1] = chr(ord('a') + ord('b') - ord(res[-1]))
        balance = 0

print(changes)
print("".join(res))

n = int(input())
s = list(input())
c = 0
for i in range(0,n-1,2):
	if(s[i] == s[i+1] and s[i] == 'a'):
		s[i] = 'b'
		c+=1
	elif(s[i] == s[i+1] and s[i] == 'b'):
		s[i] = 'a'
		c+=1
print(c)
print(''.join(s))


n = int(input())
s = [i for i in input()]
temp = ''
ans = 0
for i,j in enumerate(s):
    if i % 2:
        if temp == 'a':
            if j == 'a':
                ans += 1
            s[i] = 'b'
        else:
            if j == 'b':
                ans += 1
            s[i] = 'a'
    else:
        temp = j
print(ans)
print(''.join(s))



l = int(input())
s = [char for char in input()]
cc = 0

other_char = {'a': 'b', 'b': 'a'}

for i in range(0, l, 2):
    if s[i] == s[i+1]:
        cc += 1
        s[i] = other_char[s[i]]

print(cc)
print(''.join(s))

input()
smth = list(input())
cnt=0
for i in range(len(smth)//2):
    if smth[i*2]==smth[i*2+1]:
        cnt+=1
        if smth[i*2]=='a':
            smth[i*2]='b'
        else:
            smth[i*2]='a'
smth=''.join(smth)
print(cnt)
print(smth)