def small_nnum(list1,n):
  import heapq
  
  smallest=heapq.nsmallest(n,list1)
  return smallest
def similar_elements(test_tup1, test_tup2):
  
  res = tuple(set(test_tup1) & set(test_tup2))
  return (res) 