简单的贪心
#include <cstring>
#include <algorithm>
#include <iostream>
using namespace std;
int cnt;
int main(){
string s1, s2;
cin >> s1 >> s2;
int n = s1.size();
for(int i = 0; i < n - 1; i ++ ){
if(s1[i] != s2[i]) {
if(s1[i + 1] == '*') s1[i + 1] = 'o';
else s1[i + 1] = '*';
cnt ++;
}
}
cout << cnt << endl;
return 0;
}