100 atcoder#ABC166B. [ABC166B] Trick or Treat
[ABC166B] Trick or Treat
Score : points
Problem Statement
Snukes called Snuke , Snuke , ..., Snuke live in a town.
There are kinds of snacks sold in this town, called Snack , Snack , ..., Snack . The following Snukes have Snack : Snuke .
Takahashi will walk around this town and make mischief on the Snukes who have no snacks. How many Snukes will fall victim to Takahashi's mischief?
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
3 2
2
1 3
1
3
1
- Snuke has Snack .
- Snuke has no snacks.
- Snuke has Snack and .
Thus, there will be one victim: Snuke .
3 3
1
3
1
3
1
3
2