#include using namespace std; int main(){ int n, result = 0; cin >> n; string str1, str2; cin >> str1 >> str2; for(int i = 0; i < n; i++){ if(str1[i] != str2[i]) result++; } cout << result << endl; }