Given a set of distinct positive integers, find the number of different repeating positive integers from a new set of distinct positive integers compared to the set .
Input Specification
The first line will contain two space-separated integers and .
The second line will contain space-separated integers .
The third line will contain space-separated integers .
Output Specification
Print out one integer representing the number of repeating positive integers.
Sample Input
5 4
1 2 3 4 5
3 6 5 7
Sample Output
2
Explanation
The array has two repeating numbers ( and ).
Comments