You are given two binary strings and and are required to make equals to . There are two types of operations:
What is the minimum cost to make string equal to ?
Input format
Output format
Print one integer that represents the minimum cost required to convert string to string .
Constraints
Note
The length of both the strings and is always the same.
We will flip the first character which will cost us 1 unit. Now the string A will be "0101". We will swap second and third characters which will also cost us 1 unit.Now the string A will be "0011" which is same as B.Hence our total cost will be 2 units will be optimal.