#include "bits/stdc++.h" using namespace std; int main() { int n, count = 0; string S, T; cin >> n >> S >> T; for (int i = 0; i < n; i++) { if (S[i] != T[i]) count++; } cout << count; }