#include #include int main() { int n; std::string s, t; std::cin >> n >> s >> t; int c = 0; for (int i = 0; i < n; ++i) if (s[i] != t[i]) ++c; std::cout << c << std::endl; }