char s[];n,i;main(t){for(gets(gets(s));s[i];n+=s[i++]!=getchar());n=!printf("%d",n);}