i=input k,l,m=int(i()),i(),i() for j in range(k): if l[j]==m[j]: k-=1 print(k)