fun main(args: Array<String>) {
    val (S, T) = (0..1).map { readLine()!! }
    var counter = 0
    S.forEachIndexed {i, chr -> 
        if(chr != T[i]){
            counter += 1
        }
    }
    println(counter)
}
