You are given two binary strings A and B and are required to make A equals to B. There are two types of operations:
What is the minimum cost to make string A equal to B?
Input format
Output format
Print one integer that represents the minimum cost required to convert string A to string B.
Constraints
1≤n≤105
Note
The length of both the strings A and B 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.