def extract_rear(test_tuple):
  
  res = list(sub[len(sub) - 1] for sub in test_tuple)
  return (res) 
def extract_rear(test_tuple):
   
    res = list(test[len(test) - 1] for test in test_tuple)
    return res