You are viewing a single comment's thread. Return to all comments →
input() nums = {} for num in input().split(): nums[num] = nums.get(num, 0) + 1 current_mood = 0 for n in input().split(): current_mood += nums.get(n, 0) for n in input().split(): current_mood -= nums.get(n, 0) print(current_mood)
Seems like cookies are disabled on this browser, please enable them to open this website
No Idea!
You are viewing a single comment's thread. Return to all comments →