import scala.math._ object Main { def main(args: Array[String]) { val sc = new java.util.Scanner(System.in) val n = sc.nextLine val s, t = sc.nextLine val ans = s.zip(t).filter { case (a, b) => a != b }.size println(ans) } }