def get_equal(Input, k):
  def find_equal_tuple(Input, k):
    flag = 1
    for tuple in Input:
      if len(tuple) != k:
        flag = 0
        break
    return flag
  
  if find_equal_tuple(Input, k) == 1:
    return ("All tuples have same length")
  else:
    return ("All tuples do not have same length")
def heap_queue_largest(nums,n):
  import heapq as hq
  
  largest_nums = hq.nlargest(n, nums)
  return largest_nums