n,s,t=$<.read.split p n.to_i.times.count{|i|s[i]!=t[i]}