def div_of_nums(nums,m,n):
 
 result = list(filter(lambda x: (x % m == 0 or x % n == 0), nums)) 
 return result
def similar_elements(test_tup1, test_tup2):
  
  res = tuple(set(test_tup1) & set(test_tup2))
  return (res) 