Problem:
 Score : 200 points    Problem Statement Given are strings S and T . Consider changing S to T by repeating the operation below. Find the minimum number of operations required to do so.  Operation: Choose one character of S and replace it with a different character.      Constraints  S and T have lengths between 1 and 2\times 10^5 (inclusive).  S and T consists of lowercase English letters.  S and T have equal lengths.         Input Input is given from Standard Input in the following format:  S  T       Output Print the answer.        Sample Input 1 cupofcoffee
cupofhottea      Sample Output 1 4  We can achieve the objective in four operations, such as the following:   First, replace the sixth character c with h .  Second, replace the eighth character f with t .  Third, replace the ninth character f with t .  Fourth, replace the eleventh character e with a .        Sample Input 2 abcde
bcdea      Sample Output 2 5       Sample Input 3 apple
apple      Sample Output 3 0  No operations may be needed to achieve the objective.

Solution (Python):
s = input()
t = input()
print(sum(1 for x,y in zip(s,t) if x!=y))

Solution (Python):
s = input()
t = input()

x = len(s)

num = 0
for i in range(0, x):
    if s[i] != t[i]:
        num += 1

print(num)

Solution (Python):


str1 = input()
str2 = input()
total = 0
for i in range(len(str1)):
  if str1[i] != str2[i]:
    total += 1
    
print(total)

Solution (Python):
def solve():
    S = input()
    T = input()
    ptr = 0
    length = len(S)
    ans = 0
    while ptr < length:
        if S[ptr] != T[ptr]:
            ans += 1
        ptr += 1
    print(ans)

if __name__ == "__main__":
    solve()

Solution (Python):
s=input()
t=input()

res=0
for i in range(len(s)):
    if s[i] != t[i]:
        res+=1

print(res)

Solution (Python):
s = input()
t = input()
u = 0

if s == t:
  print(0)
else:
  for i in range(len(s)):
    if s[i] != t[i]:
      u += 1
  print(u)

Solution (Python):
a = list(input())
b = list(input())

c = len(a)

d = 0

for i in range(c):
  if a[i] == b[i]:
    d = d
  else:
    d = d + 1
    
print(d)

Solution (Python):
s = input()
t = input()

ans = 0
for i, j in zip(s, t):
    if i != j:
        ans += 1

print(ans)

Solution (Python):
s1 = input()
s2 = input()

count = 0
for i in range(len(s1)):
    if s1[i] != s2[i]:
        count += 1
print(count)

Solution (Python):
print(sum([si!=ti for si,ti in zip(*(input(),input()))]))

Solution (Python):
S=list(input())
T=list(input())
b=0


for i in range(0,len(S)):
    if S[i]!= T[i]:
        b+=1

print(b)

Solution (Python):
s = str(input())
t = str(input())
num = 0
for i in range(len(s)):
    if s[i] != t[i]:
        num += 1
print(num)

Solution (Python):
S=input()
T=input()
total=0
for i in range(0,len(S)):
    if S[i]!=T[i]:
        total+=1
print(int(total))

Solution (Python):
s = input()
t = input()

cnt = 0

for i in range(len(s)):
    if s[i] != t[i]:
        cnt += 1

print(cnt)

Solution (Python):
s = input()
t = input()
cnt = 0
for i in range(len(s)):
  if s[i]!=t[i]:
    cnt += 1
print(cnt)

Solution (Python):
S = input()
T = input()
N = len(S)
ans = 0
for i in range(N):
    if S[i] != T[i]:
        ans += 1
print(ans)

Solution (Python):

s = input()
t = input()
cnt = 0
for i,j in zip(s,t):
    if i != j:
        cnt += 1
print(cnt)

Solution (Python):
S=list(input())
T=list(input())
ans=0
for i in range(len(S)):
    if S[i]!=T[i]:
        ans+=1
print(ans)

Solution (Python):
n = input()
p = input()
s = len(n)
count = 0
for i in range(s):
    if n[i] != p[i]:
        count += 1
print(count)

Solution (Python):
s=input()
t=input()
total=0
if(s==t):
  print(0)
else:
  for i in range(len(s)):
    if(s[i]!=t[i]):
      total+=1
  print(total)

Solution (Python):
s=list(map(str,input()))
t=list(map(str,input()))
count=0
for i in range(len(s)):
    if s[i]!=t[i]:
        count+=1
print(count)

Solution (Python):
s = input()
t = input()
ans = 0
for i in range(len(s)):
    if s[i] != t[i]:
        ans += 1
print(ans)

Solution (Python):
S = input()
T = input()
N = len(S)

count = 0
for i in range(N):
    if S[i] != T[i]:
        count += 1
        
print(count)

Solution (Python):
s = input()
t = input()
n = len(s)
ans = 0
for i in range(n):
  if (s[i] != t[i]):
    ans = ans + 1
print(ans)

Solution (Python):
S = input()
T = input()
W = 0
for i in range(len(S)):
    if S[i] != T[i]:
        W += 1
print(W)

Solution (Python):
S=input()
T=input()

count=0
ans=0
for s in S:
  t=T[count]
  
  if(t!=s):
    ans+=1
  count+=1
print(ans)

Solution (Python):
S=input()
T=input()

ans=0
for i in range(len(S)):
	if S[i]!=T[i]:
		ans+=1
print(ans)

Solution (Python):
S = input()
T = input()
result = 0
for i, s in enumerate(S):
    if T[i]!=s:
        result += 1
print(result)

Solution (Python):
S=input()
T=input()
counter=0
for i in range(len(S)):
    if S[i]!=T[i]:
        counter+=1
print(counter)

Solution (Python):

S = input()
T = input()

count = 0
for i in range(len(S)):
    if S[i] != T[i]:
        count += 1
print(count)

Solution (Python):
s = input()
t = input()
s_list = []
t_list = []
for i in s:
    s_list.append(i)
for i in t:
    t_list.append(i)
operation = [i for i in range(len(s_list)) if s_list[i] != t_list[i]]
print(len(operation))

Solution (Python):
S = input()
T = input()

count = 0
for i in range(len(S)):
	if S[i] != T[i]:
		count = count + 1
print(count)

Solution (Python):
s = input()
t = input()
n = len(s)
ans = 0

for i in range(n):

    if s[i] != t[i]:
        ans += 1
    
print(ans)

Solution (Python):
s = str(input())
t = str(input())
count = 0
for i in range(len(s)):
    if s[i] != t[i]:
        count +=1
print(count)

Solution (Python):
p = str(input())
q = str(input())

count = 0

for i in range(len(p)):
  if p[i] != q[i]:
    count = count + 1
    
print(count)

Solution (Python):
S = input()
T = input()

counter = 0
for i in range(len(S)):
    if S[-i] == T[-i]:
        continue
    else:
        counter += 1

print(counter)

Solution (Python):
s = input()
t = input()
c = 0
 
for i in range(len(s)):
  if s[i] != t[i]:
    c += 1
 
print(str(c))

Solution (Python):
s = list(input())
t = list(input())
cnt = 0
for x,y in zip(s,t):
    if x != y:
        cnt += 1

print(cnt)

Solution (Python):
s = input()
t = input()
cnt = 0
for i in range(len(s)):
    if s[i]!=t[i]:
        cnt+=1
print(cnt)

Solution (Python):
a = input()
b = input()
count= 0
for i in range(len(a)):
    if a[i] != b[i]:
        count+=1
print(count)

Solution (Python):
s = str(input())
t = str(input())
count = 0

for i in range(len(s)):
    if s[i] != t[i]:
        count += 1
        
print(count)

Solution (Python):
S=input()
T=input()
count=0
for i,j in zip(S,T):
  if i!=j:
    count+=1
    
print(count)

Solution (Python):
S = input()
T = input()
count = 0
length = len(S)

for i in range(length):
    if S[i] != T[i]:
        count += 1

print(count)

Solution (Python):
S = list(input())
T = list(input())

cnt = 0
for s, t in zip(S, T):
  if s != t:
    cnt+=1

print(cnt)

Solution (Python):
s = input()
t = input()

l = len(s)
cnt = 0
for i in range(l):
    if s[i] != t[i]:
        cnt += 1


print(cnt)

Solution (Python):

s = input()
t = input()

cnt = 0
for i in range(len(s)):
    if s[i] != t[i]:
        cnt += 1

print(cnt)

Solution (Python):
s=list(input())
t=list(input())

count=0
for i in range(len(s)):
  if s[i]!=t[i]:
    count += 1
print(count)

Solution (Python):
s = input()
t = input()
s_len = len(s)
count = 0
if s == t:
    print("0")
    exit()
else:
    for i in range(s_len):
        if s[i] != t[i]:
            count += 1
        else:
            continue
print(count)

Solution (Python):
s = input()
t = input()
count = 0
for i in range(len(s)):
    if s[i] is not t[i]:
        count += 1
print(count)

Solution (Python):
a=input()
b=input()
cnt=0
for  i in range(len(a)):
    if a[i]!=b[i]:
        cnt+=1
print(cnt)

Solution (Python):
S = input()
T = input()

L = len(S)

ans = 0

for i in range(L):   
    if S[i] != T[i]:
        ans += 1

print(ans)

Solution (Python):
S = input().rstrip()
T = input().rstrip()
count = 0

for i in range(len(S)):
  if S[i] != T[i]:
    count += 1
    
print(count)

Solution (Python):
s=input()
list_s=list(s)
t=input()
count=0
list_t=list(t)
for i in range(0,len(list_s)):
  if(list_s[i] != list_t[i]):
    count+=1
  else:
    count+=0
    
print(count)

Solution (Python):
print(sum(s!=t for s,t in zip(*open(0))))

Solution (Python):
a = input()
b = input()
c = 0
for i in range(len(a)):
  if a[i] != b[i]:
    c += 1
print(c)

Solution (Python):
S = input()
T = input()
count = 0
for i in range(len(S)):
    if S[i] != T[i]:
        count += 1
print(count)

Solution (Python):
s = input()
t = input()
ans = 0
for i in range(len(s)):
    if s[i] != t[i]:
        ans += 1
print(ans)

Solution (Python):
s=input()
t=input()
ans=0
for i in range(len(s)):
  if s[i]!=t[i]:
    ans+=1
print(ans)

Solution (Python):
S = input()
T = input()

print(sum(s != t for s, t in zip(S, T)))

Solution (Python):
s = input()
t = input()
ans = 0
for i in range(len(s)):
    if s[i] != t[i]:
        ans += 1
print(ans)

Solution (Python):
S=input()
T=input()

N = len(S)

count = 0
for n in range(N):
    if S[n]!=T[n]:
        count+=1
print(count)

Solution (Python):
S=input()
T=input()
ans=0
for i in range(len(S)):
  if S[i]!=T[i]:
    ans+=1
print(ans)

Solution (Python):

import sys
input = sys.stdin.readline



def inps():
    return str(input())


s = inps().rsplit()[0]
t = inps().rsplit()[0]
cnt = 0
for i in range(len(s)):
    if s[i]!=t[i]:
        cnt+=1
print(cnt)

Solution (Python):
S=input()
T=input()
ans=0
for s,t in zip(S,T):
    ans+=(s!=t)
print(ans)

Solution (Python):
s = input()
t = input()
c = 0
for i in range(len(s)):
    if s[i] != t[i]:
        c += 1
print(c)

Solution (Python):
A=input()
B=input()

cnt=0
for i in range(len(A)):
  if A[i]!=B[i]:
    cnt+=1

print(cnt)

Solution (Python):
S = input()
T = input()

count = 0

for i in range(len(S)):
    if S[i] != T[i]:
        count += 1

print(count)

Solution (Python):
import sys
read = sys.stdin.read
readlines = sys.stdin.readlines
def main():
    s = input()
    t = input()
    r = 0
    for se, te in zip(s, t):
        r += se != te
    print(r)


if __name__ == '__main__':
    main()

Solution (Python):
s=input()
b=input()
c=0
for i in range(len(s)):
    if s[i]!=b[i]:
        c=c+1
    else:
        pass
print(c)

Solution (Python):
s = input()
t = input()
l = len(s)
ans = 0

for i in range(l):
  if s[i] != t[i]:
    ans += 1

print(ans)

Solution (Python):
s1 = input()
s2 = input()

cnt = 0
for c1, c2 in zip(s1, s2) : 
    if c1 != c2 : 
        cnt += 1

print(cnt)

Solution (Python):
s = input()
t = input()

result = [x != y for x, y in zip(s, t)]
print(sum(result))

Solution (Python):
S = input()
list_S = list(S)
T = input()
list_T = list(T)
count = 0
for i in range(len(list_S)):
    if S[i] != T[i]:
        count +=1
print(count)

Solution (Python):
s=list(input())
t=list(input())
cnt=0
for i in range(len(s)):
 if s[i]!=t[i]:
  cnt+=1
print(cnt)

Solution (Python):
s=input()
r=input()
n=len(s)
c=0
for i in range(n):
    if(s[i]!=r[i]):
        c=c+1
print(c)

Solution (Python):
S, T = [input() for _ in range(2)]
print(sum(s != t for s, t in zip(S, T)))

Solution (Python):
S, T = [input() for _ in range(2)]
cnt = 0
for i, c in enumerate(S):
    if c != T[i]:
        cnt += 1

print(cnt)

Solution (Python):
S=input()
T=input()

count=0
for i in range(0,len(S)):
    if S[i]!=T[i]:
        count += 1
print(count)

Solution (Python):
S = input()
T = input()

count = 0
for i in range(len(S)):
    if S[i] != T[i]:
        count += 1
print(count)

Solution (Python):
import sys

s = sys.stdin.readline().replace('\n','')
t = sys.stdin.readline().replace('\n','')
res = 0
for i in range(len(s)):
    if s[i] != t[i]: res += 1

print(res)

Solution (Python):
S = input()
T = input()

n = 0

for s, t in zip(S, T):
    if s != t:
        n += 1

print(n)
exit()

Solution (Python):
s = input()
t = input()
n = 0
for i in range(len(s)):
    if s[i] != t[i]:
        n = n + 1
print(int(n))

Solution (Python):
s=input()
t=input()
cnt=0

for i in range(len(s)) :
    if s[i]!=t[i] :
        cnt+=1

print(cnt)

Solution (Python):
s = list(input())
t = list(input())
if s == t:
  print(0)
else:
    changes = 0
    for i in range(0, len(s)):
        if s[i] != t[i]:
            changes += 1
    print(changes)

Solution (Python):
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
S,T=read().rstrip().decode().split()
print(sum(s!=t for s,t in zip(S,T)))

Solution (Python):
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
S,T=read().rstrip().decode().split()
ans=0
for s,t in zip(S,T):
    if s!=t:
        ans+=1
print(ans)

Solution (Python):
s=input()
t=input()
ans=0
for i in range(len(s)):
    if s[i] != t[i]:
        ans+=1
print(ans)

Solution (Python):
s = input()
t = input()
n = len(s)
c = 0
for i in range(0,n):
  if s[i] != t[i]:
    c += 1
print(c)

Solution (Python):
S = input()
T = input()

same = 0

for i in range(len(S)):
  if S[i] == T[i]:
    same += 1
    
print(len(S) - same)

Solution (Python):

S = input()
T = input()
ans = 0
for e in zip(S,T):
    ans += [0,1][e[0]!=e[1]]
print(ans)

Solution (Python):
S = input()
T = input()
ans = 0
for i in range(len(S)):
  if S[i] == T[i]:
    continue
  ans += 1

print(ans)

Solution (Python):
"""B - Minor Change"""

S = input()
T = input()
count = 0
for i in range(len(S)):
    if S[i] != T[i]:
        count += 1
print(count)

Solution (Python):
S = input()
T = input()
list_s = []
list_t = []
counter = 0
for i in range(0, len(S)):
  list_s.append(S[i])
  list_t.append(T[i])
  if S[i] != T[i]:
    list_s[i] = list_t[i]
    counter += 1
print(counter)

Solution (Python):
a = [str(input()) for i in range(2)]
ans=0
for i in range(len(a[0])):
  if not a[0][i] == a[1][i]:
    ans +=1
    
print(ans)

Solution (Python):
s = input()
t = input()
ans = 0
for cs, ct in zip(s, t):
    if cs != ct:
        ans += 1
print(ans)

Solution (Python):
s = list(input())
t = list(input())

cnt = 0
for i in range(len(s)):
  if s[i] != t[i]:
    cnt += 1
print(cnt)

Solution (Python):
s = str(input())
t = str(input())
n = len(s)
ans = 0
for i in range(n):
  if s[i] != t[i]:
    ans += 1
print(ans)

Solution (Python):
s = input()
t = input()
cnt = 0
for i in range(len(s)):
    if s[i] != t[i]:
        cnt += 1
print(cnt)

Solution (Python):
S = input()
T = input()
n = 0
for i in range(len(S)):
    if S[i] != T[i]:
        n += 1
print(n)

Solution (Python):
s = input()
t = input()
count = 0
for i in range(len(s)):
	if s[i] != t[i]:
		count += 1
print(count)

Solution (Python):
S=list(input())
T=list(input())
counter=0
for i in range(len(S)):
    if S[i]!=T[i]:
        counter+=1
print(counter)

Solution (Python):
S = list(input())
T = list(input())
ans = 0

for i in range(len(S)):
    if S[i] != T[i]:
        ans +=1

print(ans)

Solution (Python):
S=list(input())
T=list(input())
ct=0
for i in range(len(S)):
    if S[i]!=T[i]:
        ct+=1
print(ct)

Solution (Python):
S = list(input())
T = list(input())
count = 0
for i in range(len(S)):
    if S[i] != T[i]:
        count += 1
print(count)

Solution (Python):


import math

import itertools
from collections import deque
from collections import Counter
import heapq


import bisect
s=input()
t=input()
n=len(s)
ans=0
for i in range(n):
    if s[i]!=t[i]:
        ans+=1
print(ans)

Solution (Python):
S=input()
T=input()
number=0
for i in range(len(S)):
    if S[i] != T[i]:
        number += 1
print(number)

Solution (Python):
S = list(input())
T = list(input())
 
l = len(S)
count = 0
for i in range(l):
    if S[i] != T[i]:
        count += 1
 
print(count)

Solution (Python):
S = list(input())
T = list(input())

l = len(S)
count = 0
for i in range(l):
    if S[i] != T[i]:
        count += 1

print(count)

Solution (Python):
a=input()
b=input()

cnt=0

for i in range(len(a)):
  if a[i]!=b[i]:
    cnt+=1

print(cnt)

Solution (Python):
s = input()
t = input()

ct = 0

for i in range(len(s)):
  if s[i] != t[i]:
    ct += 1
    
print(ct)

Solution (Python):

s = input()
t = input()
count = 0
for i in range(len(s)):
  if s[i] != t[i]:
    count += 1
print(count)

Solution (Python):
S=input()
T=input()
count=0
for i in range(len(S)):
    if S[i]!=T[i]:
       count+=1
print(count)

Solution (Python):
s = input()
t = input()
cnt = 0
for x in range(len(s)):
    if s[x]!=t[x]:
        cnt+=1
print(cnt)

Solution (Python):
s = input()
t = input()
ans = 0
for i in range(len(s)):
  if s[i]!= t[i]:
    ans += 1
print(ans)

Solution (Python):
S = input()
T = input()
counter = 0
for i in range(len(S)):
    if S[i] != T[i]:
        counter += 1
print(counter)

Solution (Python):
S = list(input())
T = list(input())
count = 0

for i, c in enumerate(S):
  if (c != T[i]):
    count += 1
print(count)

Solution (Python):
S, T = [input() for _ in range(2)]
count = 0
for i, j in zip(S, T):
    count += i != j
print(count)

Solution (Python):
S=list(input())
T=list(input())
count=0
for i in range(len(S)):
  if S[i]!=T[i]:
    count+=1
print(count)

Solution (Python):
a = input()
b = input()
c = 0
for i in range(len(a)):
  if(a[i] != b[i]):
    c += 1
print(c)

Solution (Python):

S = str(input())
T = str(input())
i = 0
j = 0
k = len(S)
for j in range(k):
    if S[j] != T[j]:
        i += 1

print(i)

Solution (Python):
s = input()
t = input()

res = 0
for i, j in zip(s, t):
  if i != j:
    res += 1
print(res)

Solution (Python):
s = input()
t = input()
cnt = 0
for i, p in enumerate(s):
  if p != t[i]:
    cnt += 1
    
print(cnt)

Solution (Python):
s = input()
g = input()
m = 0
n = len(s)
if s == g:
    m = 0
else:
    for i in range(n):
        if s[i] == g[i]:
            continue
        else:
            m += 1

print(m)

Solution (Python):
s = input()
t = input()

cnt = 0
for s1, s2 in zip(s, t):
    if s1 != s2:
        cnt = cnt + 1
print(cnt)

Solution (Python):
Answer = input()
input_retu = input()
count = 0
for i in range(len(Answer)):
    if Answer[i] == input_retu[i]:
        continue
    else:
        count += 1
print(count)

Solution (Python):
S=input()
T=input()
S=list(S)
T=list(T)
sum=0
for i in range(len(S)):
  if not S[i]==T[i]:
    sum += 1
print(sum)

Solution (Python):
s = input()
t = input()

ans = abs(len(s) - len(t))
count = min(len(s), len(t))

for i in range(count):
    if s[i] != t [i]:
        ans += 1
print(ans)

Solution (Python):
s=input()
t=input()
n=len(s)
c=0
for i in range(n):
    if s[i]!=t[i]:
        c+=1
        
print(c)

Solution (Python):
s = input()
t = input()

ans = 0
for i, sv in enumerate(s):
    if sv != t[i]:
        ans += 1
print(ans)

Solution (Python):
S=input()
T=input()

count=0
for i in range(len(S)):
  if S[i]!=T[i]:
    count+=1
    
print(count)

Solution (Python):
s= input()
t = input()

ctr = 0
for i in range(len(s)):
    if s[i] != t[i]:
        ctr +=1
print(ctr)

Solution (Python):
S = input()
T = input()
count =0
for i in range(len(S)):
  if S[i] != T[i]:
    count +=1
print(count)

Solution (Python):
s=input()
t=input()

cnt=0
i=0

while i<len(s):
  if s[i]!=t[i]:
    cnt=cnt+1
  i=i+1  
print(cnt)

Solution (Python):
S = input()
T = input()

count = 0
for i in range(len(S)):
    if S[i] != T[i]:
        count += 1

print(count)

Solution (Python):
S=list(input())
T=list(input())
total = 0
for i in range(len(S)):
    if S[i] == T[i]:
        continue
    else:
        total += 1
print(str(total))

Solution (Python):
S = input()
T = input()
ans = 0
for i in range(len(S)):
  if S[i]!=T[i]:
    ans+=1
print(ans)

Solution (Python):
S = input()
T = input()
print(sum([1 for i in range(len(S)) if S[i] != T[i]]))

Solution (Python):
s = str(input())
t = str(input())
revise = 0
len_str = len(s)
for i in range(len_str):
    if s[i] != t[i]:
        revise += 1
print(int(revise))

Solution (Python):
s = input()
t = input()
res = 0
for i, j in zip(s, t):
    if i != j:
        res += 1
print(res)

Solution (Python):
s = input()
t = input()
ans = 0
for i in range(len(s)):
  if s[i] != t[i]:
    ans += 1
print(ans)

Solution (Python):
s = input()
t = input()
ans = 0

for i in range(len(s)):
    if s[i] != t[i]:
        ans += 1

print(ans)

Solution (Python):
s = str(input())
t = str(input())
l = len(s)
cnt = 0

for i in range(l):
  if s[i] != t[i]:
    cnt += 1

print(cnt)

Solution (Python):
S = input()
T = input()
if S == T:
  print(0)
  exit(0)
ans = 0
for i in range(len(S)):
  if S[i] != T[i]:
    ans += 1
print(ans)

Solution (Python):
s = input()
t = input()
ans = 0
for i in range(len(s)):
  if s[i] != t[i]:
    ans += 1
print(ans)

Solution (Python):
S=input()
T=input()
S_list=list(S)
T_list=list(T)
N=len(S_list)
count=0
for i in range(N):
    if S_list[i]!=T_list[i]:
        count=count+1
print(count)

Solution (Python):
s = input()
t = input()

cnt = 0

for i in range(len(s)):
    if s[i] != t[i]:
        cnt += 1
print(cnt)

Solution (Python):

S = str(input())
T = str(input())
L = int(len(T))
for i in range(L):
  if S[i] == T[i]:
    L -= 1
print(L)

Solution (Python):
s = input()
t = input()

count = 0
for i in range(len(s)):
	if s[i] != t[i]:
		count += 1

print(count)

Solution (Python):
s=input()
t=input()
l=len(s)
ans=0
for i in range(l):
  if s[i]==t[i]:
    ans+=1
print(l-ans)

Solution (Python):
s = input()
t = input()

i = 0
ans = 0

for i in range(len(s)):
    if s[i] != t[i]:
        ans += 1

print(ans)

Solution (Python):
S=input()
T=input()
n=len(S)
SUM=0
for i in range(n):
    if S[i]!=T[i]:
        SUM+=1
print(SUM)

Solution (Python):
S = input()
T = input()

N = len(S)
count = 0
for i in range(N):
    if S[i]!=T[i]:
        count += 1
        
print(count)

Solution (Python):
s = input()
t = input()

count = 0
for l in range(len(s)):
    if s[l] != t[l]:
        count += 1
    
print(count)

Solution (Python):
A = str(input())
B = str(input())
sum=0
for i in range(len(A)):
    if A[i]!=B[i]:
        sum+=1
print(sum)

Solution (Python):
S = input()
T = input()
n = 0
for i in range(len(S)):
    if S[i] != T[i]:
        n += 1
print(n)

Solution (Python):
a = input()
b = input()
c = 0
for i in range(len(a)):
  if a[i] != b[i]:
    c += 1
print(c)

Solution (Python):
s=input()
t=input()
a=0
for x,y in zip(s, t):
  if x != y:
    a+=1
print(a)

Solution (Python):
S = input()
T = input()
ans = 0
for i in range(len(S)):
  if S[i] != T[i]:
    ans += 1
print(ans)

Solution (Python):
S = str(input())
T = str(input())
counter = 0

for i in range(len(S)):
  if S[i]!=T[i]:
    counter+=1

print(counter)

Solution (Python):
S=list(input())
T=list(input())
a=0
for i in range (len(S)):
    if S[i]!=T[i]:
        a+=1
print(a)

Solution (Python):
def Qb():
    s, t = open(0).read().splitlines()
    r = sum([s != t for s, t in zip(s, t)])
    print(r)



if __name__ == '__main__':
    Qb()

Solution (Python):
A_word = str(input().rstrip())
B_word=  str(input().rstrip())

counter=0
for i in range(len(A_word)):
    if A_word[i]!=B_word[i]:
        counter+=1
print(counter)

Solution (Python):
s=input()
t=input()
a=0
for i in range(len(s)):
  if s[i]!=t[i]:
    a+=1
print(a)

Solution (Python):
s = list(input())
t = list(input())

cnt = 0
for i in range(len(s)):
    if s[i] != t[i]:
        cnt += 1

print(cnt)

Solution (Python):
s = input()
t = input()
count = 0

for i in range(len(s)):
    if s[i] != t[i]:
        count += 1
print(count)

Solution (Python):
a=input()
b=input()
count=0
for i in range(len(a)):
  if a[i]!=b[i]:
    count+=1
print(count)

Solution (Python):
a = list(input())
b = list(input())
count = 0

for i in range(len(a)):
  if not a[i] == b[i]:
    b[i] = a[i]
    count+=1
print(count)

Solution (Python):

def main():
    
    s = input()
    t = input()

    count = 0
    
    for i in range(len(s)):
        if s[i] != t[i]:
            count += 1
            
    print(count)    

if __name__ == "__main__":
    main()

Solution (Python):
A = input()
B = input()
c = 0
for i in range(len(A)):
  if A[i] != B[i]:
    c += 1
print(c)

Solution (Python):
S = input()
T = input()

count = 0

for i in range(len(S)):
    if S[i] != T[i]:
      count += 1
  
print(count)

Solution (Python):
s = input()
t = input()
ans = 0
for c, d in zip(s, t):
  if c != d:
    ans += 1
print(ans)

Solution (Python):
s = input()
t = input()
cnt = 0
for i in range(len(s)):
  if s[i] != t[i]:
    cnt += 1
    
print(cnt)

Solution (Python):
S = input()
T = input()
ans = 0

for i in range(len(S)):
    if S[i] != T[i]:
        ans += 1
print(ans)

Solution (Python):
S = input()
T = input()
if len(S) != len(T): quit()
sum = 0
for i in range(len(S)):
    if T[i] != S[i]:
        sum = sum + 1
print(sum)

Solution (Python):
S=input()
T=input()
print(sum(x!=y for x,y in zip(S,T)))

Solution (Python):
def main():
    S = input()
    T = input()

    l = len(S)
    cnt = 0

    for i in range(l):
        if S[i] != T[i]:
            cnt += 1

    print(cnt)


if __name__ == "__main__":
    main()

Solution (Python):
S=list(input())
T=list(input())
count=0
for i in range(len(S)):
	if S[i]==T[i]:
		count+=1
print(len(S)-count)

Solution (Python):
s=input()
t=input()
c=0
for i in range(len(s)):
    if s[i]!=t[i]:
        c+=1
print(c)

Solution (Python):
s=list(input())
t=list(input())
ans=0
for i in range(len(s)):
  if s[i]==t[i]:
    continue
  else:
    ans+=1
print(ans)

Solution (Python):
S = input()
T = input()
 
count = 0
for (s,t) in zip(S,T):
  if s != t:
    count += 1
    
print(count)

Solution (Python):
s = input()
t = input()

s_len = len(s)
count = 0
for i in range(s_len):
  if s[i] !=  t[i]:
    count += 1
print(count)

Solution (Python):
S = list(input())
T = list(input())

count = 0

for i,w in enumerate(S):
  if S[i] != T[i]: count += 1
print(count)

Solution (Python):
s = input()
a = [str(c) for c in s]
t = input()
b = [str(c) for c in t]

c = 0
n = len(a)
for i in range(n):
  if a[i] == b[i]:
    c +=1

print(n-c)

Solution (Python):
s=input()
t=input()

ans=0
for i in range(len(s)):
    if s[i]!=t[i]:
        ans+=1
print(ans)

Solution (Python):
S = input()
T = input()
ans = 0
for i in range(len(S)):
  if(S[i] != T[i]):
    ans += 1
print(str(ans))

Solution (Python):
s = input()
S1 = list(s)
T = list(input())

cnt =0
for i in range(len(s)):
    if S1[i] != T[i]:
        cnt+=1
print(cnt)

Solution (Python):
s = input()
t = input()

ans = 0

for i in range(len(s)):
    if s[i] != t[i]:
        ans += 1

print(ans)

Solution (Python):
s = str(input())
t = str(input())
cnt = 0
for i in range(len(s)):
    if s[i] != t[i]:
        cnt += 1

print(cnt)

Solution (Python):
s = input()
t = input()
print(sum([1 for a,b in zip(list(s), list(t)) if a != b]))

Solution (Python):
S=input()
T=input()

stringlen = len(S)
cnt = 0

for i in range(stringlen):
  if S[i] != T[i]:
    cnt=cnt+1

print(cnt)

Solution (Python):
N=list(input())
M=list(input())
ans=0
number=len(N)
for i in range(number):
    if N[i]==M[i]:
        ans+=1
print(number-ans)

Solution (Python):
s = input();t = input()
ans = 0
for i in range(len(s)):
  if s[i] != t[i]:
    ans += 1
print(ans)

Solution (Python):
s= input()
t = input()
ans = 0
for i in range(len(s)):
  if s[i] != t[i]:
    ans+= 1
print(ans)

Solution (Python):
s = list(input())
t = list(input())
flag = 0
for i in range(len(s)):
    if s[i]  != t[i]:
        flag += 1

print(flag)

Solution (Python):
S=input()
T=input()
ans=0
for i in range(len(S)):
    if(S[i]!=T[i]):
        ans+=1
print(ans)

Solution (Python):
S = list(input())
T = list(input())
c = 0
for i in range(len(S)):
  if S[i] != T[i]:
    c += 1

print(c)

Solution (Python):
S = input()
T = input()

cnt = 0
for i in range(len(S)):
	if S[i] == T[i]:
		cnt = cnt
	else:
		cnt += 1
print(cnt)

Solution (Python):
S = list(input())
T = list(input())
c = 0
for i in range(len(S)):
    if S[i] != T[i]:
        c += 1
print(c)

Solution (Python):
S = list(input().strip())
T = list(input().strip())

cnt = 0
for i in range(len(S)):
    if S[i] != T[i]:
        cnt += 1

print(cnt)

Solution (Python):
s = input()
t = input()


cont = 0

for i in range(len(s)):
    if s[i] == t[i]:
        cont += 1

print(len(s)-cont)

Solution (Python):
s=input()
t=input()
count=0
for i in range(len(s)):
    if s[i]==t[i]:
        pass
    else:
        count+=1
print(count)

Solution (Python):
s = input()
t = input()
o = []
for i in range(len(s)):
  if s[i] != t[i]:
    o.append(s[i])
print(len(o))

Solution (Python):
s = input()
t = input()
print(sum(True for x, y in zip(s, t) if x != y))

Solution (Python):
s=list(input())
t=list(input())
ans=0
for i in range(len(s)):
    if s[i]!=t[i]:
        ans+=1
print(ans)

Solution (Python):
s = input()
t = input()

count = 0

for i in range(len(s)):
   if s[i] != t[i]:
      count = count + 1

print(count)

Solution (Python):
s = input()
t = input()
cnt = 0
for i in range(len(s)):
    if s[i] != t[i]:
        cnt += 1
print(cnt)

Solution (Python):
def solve():
  ans = 0
  S = input()
  T = input()
  for i in range(len(S)):
    if S[i]!=T[i]:
      ans += 1
  return ans
print(solve())

Solution (Python):
s = input()
t = input()
i = 0
for key, val in enumerate(s):
    if (val != t[key]):
        i+=1
print(i)

Solution (Python):
a=input()
b=input()
k,i=0,0
while i<len(a) :
  if a[i]!=b[i] :
    k+=1
  i+=1
print(k)

Solution (Python):
s = input()
t = input()
count = 0
for a,b in zip(s,t):
  if a != b:
    count += 1
print(count)

Solution (Python):

S = input()
T = input()
ans = 0
for i in range(len(S)):
    if S[i] != T[i]:
        ans += 1
print(ans)

Solution (Python):
s = input()
t = input()

cnt = 0
for i in range(len(s)):
   if s[i] != t[i]:
      cnt += 1

print(cnt)

Solution (Python):
S = input()
T = input()
cnt = 0
for i in range(len(S)):
  if S[i] != T[i]:
    cnt += 1
print(cnt)

Solution (Python):
s=input()
t=input()
result=0
for i in range(len(s)):
    result+=(s[i]!=t[i])
print(result)

Solution (Python):
s=input()
t=input()
c=0
for i in range(len(s)):
    if s[i]!=t[i]:
        c+=1
print(c)

Solution (Python):
def main():
    S = input()
    T = input()

    cnt = 0
    for a, b in zip(S, T):
        cnt += a != b
    print(cnt)


if __name__ == '__main__':
    main()

Solution (Python):
s = str(input())
t = str(input())
count = 0

for i in range(len(s)):
	if s[i] != t[i]:
		count += 1

print(count)

Solution (Python):



s: str = input()
t: str = input()
ans: int = 0

for i in range(len(s)):
    if s[i] != t[i]:
        ans = ans + 1

print(ans)

Solution (Python):
s=list(input())
t=list(input())

count = 0
for i,w in enumerate(s):
    if w != t[i]:
        count += 1

print(count)

Solution (Python):
s = input()
t = input()

cnt = 0
for i in range(len(s)):
    if s[i] != t[i]:
        cnt += 1

print(cnt)

Solution (Python):
s = input()
t = input()
count = 0
for i in range(len(t)):
  if s[i] == t[i]:
    continue
  else:
    count += 1
print(count)

Solution (Python):
s = input()
t = input()
ans = 0
for i in range(len(s)):
    if s[i] != t[i]:
        ans += 1
print(ans)

Solution (Python):
S = input()
T = input()

cnt = 0

for i in range(len(S)):
    if S[i] != T[i]:
        cnt += 1

print(cnt)

Solution (Python):
s = input()
d = input()

c=0
for i in range(len(s)):
    if s[i]!=d[i]:
        c+=1
print(c)

Solution (Python):
s=list(input())
t=list(input())
cnt=0
for i in range(len(s)):
  if s[i]!=t[i]:
    cnt+=1
print(cnt)

Solution (Python):
S = str(input())
T = str(input())

count = 0
for i in range(len(S)):
    if S[i] != T[i]:
        count +=1
print(count)

Solution (Python):
S = list(input())
T = list(input())
cnt = 0
for s, t in zip(S, T):
    if s != t:
        cnt += 1
print(cnt)

Solution (Python):
S = input()
T = input()
n = len(S)
ans = 0
for i in range(n):
    if (S[i]!=T[i]):
        ans += 1
print(ans)

Solution (Python):
s = input()
t = input()
ans = 0


for i in range(len(s)):
    if s[i] != t[i]:
        ans += 1

print(ans)