#include //cin, cout #include //vector #include //sort,min,max #include //string #include //fixed #include //setprecision #include //swap #include //abs(int) #include //sqrt #include //stringstream,getline #include //ceil using namespace std; int main() { int n; string S, T; cin >> n >> S >> T; int ans = 0; for (int i = 0; i < n; i++) { if (S[i] != T[i]) { ans++; } } cout << ans << endl; return 0; }