Your friend and you made a list of topics and both of them voted if they like or dislike the topic. They wrote 0 to denote dislike and 1 to denote like. They asked you to count the number of topics that both like or both dislike.
Input format
Output format
Print the number of topics both, Bob and Alice, like or dislike.
Constraints
1≤|A|,|P|≤105
|A|=|P|
A=010101
P=101101
They both like 4th and 6th topic and they both dislike 5th topic. So answer is 3.