题解 | #记票统计#
记票统计
https://www.nowcoder.com/practice/3350d379a5d44054b219de7af6708894
n1 = input()
houxuan = input().split()
n2 = input()
tou = input().split()
for i in houxuan:
print(i+' : '+str(tou.count(i)))
count = 0
for i in tou:
if i not in houxuan:
count += 1
print('Invalid'+' : '+str(count))