New Year in Krilyandia comes unexpectedly in April, as well as in June, September, and December. This New Year, rabbits Bryan and Stew received many candies. They collected all their candies into two boxes and decided to find out how many different types of candies are present in both Stew's and Bryan's boxes at the same time.
The first line contains two integers separated by a space: , (1 \leq N,\ M \leq 1000). The second line contains candy names from Stew's box, separated by spaces. The third line contains candy names from Bryan's box, separated by spaces. Each candy name consists of at most twenty lowercase Latin letters ( to ) and at least one letter.
Output a single integer — the number of different types of candies that are present in both Stew's and Bryan's boxes simultaneously.
Example 1