def find_literals(text, pattern):
  import re
  pattern = 'fox'
  text = 'The quick brown fox jumps over the lazy dog.'
  
  match = re.search(pattern, text)
  s = match.start()
  e = match.end()
  return (match.re.pattern, s, e)
def heap_queue_largest(nums,n):
  import heapq as hq
  
  largest_nums = hq.nlargest(n, nums)
  return largest_nums