New Year
New Year in the Rabbitland surprisingly comes in April, and also in June, September, and December. Last new year rabbits Bryan and Stew received a lot of candies. They’ve collected all their candies into 2 boxes and want to find how many different kinds of candies they have together in boxes of Stew and Bryan.
Input
The first line of the input contains two integers, separated by space: N, M (1 ≤ N, M ≤ 1000). The second line contains N names of candies from the Stew's box, separated by spaces, while the third line contains M names of candies from the Bryan's box. Each candy name consists of not more than twenty letter (lowercase 'a' to 'z'), and not less than one.
Output
You need to output one integer – number of different kinds of candies that are available both boxes together.