def extract_nth_element(list1, n):
    
    result = [x[n] for x in list1]
    return result
def heap_queue_largest(nums,n):
  import heapq as hq
  
  largest_nums = hq.nlargest(n, nums)
  return largest_nums