def assign_freq(test_list):
  from collections import Counter 
  
  res = [(*key, val) for key, val in Counter(test_list).items()]
  return (str(res)) 
def heap_queue_largest(nums,n):
  import heapq as hq
  
  largest_nums = hq.nlargest(n, nums)
  return largest_nums