#include #include #include #include #include #include #include #include #define rep(i,l,n) for(lint i=l;i vi; typedef vector vli; typedef vector vvi; typedef pair pii; int main(){ int n,ans=0; string s,t; cin>>n>>s>>t; rep(i,0,n){ if(s[i]!=t[i]) ans++; } o(ans); }