#ABC172B. [ABC172B] Minor Change

[ABC172B] Minor Change

提示:该题测试数据补录中,暂不支持评测提交。

No testdata at current.

No submission language available for this problem.

Score : 200200 points

Problem Statement

Given are strings SS and TT. Consider changing SS to TT by repeating the operation below. Find the minimum number of operations required to do so.

Operation: Choose one character of SS and replace it with a different character.

Constraints

  • SS and TT have lengths between 11 and 2×1052\times 10^5 (inclusive).
  • SS and TT consists of lowercase English letters.
  • SS and TT have equal lengths.

Input

Input is given from Standard Input in the following format:

SS

TT

Output

Print the answer.

cupofcoffee
cupofhottea
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.
abcde
bcdea
5
apple
apple
0

No operations may be needed to achieve the objective.