def replace_list(list1,list2):
 
 list1[-1:] = list2
 replace_list=list1
 return replace_list
def heap_queue_largest(nums,n):
  import heapq as hq
  
  largest_nums = hq.nlargest(n, nums)
  return largest_nums