class Solution:

    def intersection(self, nums1: List[int], nums2: List[int]) ->List[int]:
        return list(set([num for num in nums1 if num in nums2]))

145a8aa55abe9757d429c3e376dab0c629601e3f
<mask token>

class Solution:
    <mask token>

class Solution:

    def intersection(self, nums1: List[int], nums2: List[int]) ->List[int]:
        return list(set([num for num in nums1 if num in nums2]))
