def larg_nnum(list1,n):
 import heapq
 
 largest=heapq.nlargest(n,list1)
 return largest
def heap_queue_largest(nums,n):
  import heapq as hq
  
  largest_nums = hq.nlargest(n, nums)
  return largest_nums