def rear_extract(test_list):
  
  res = [lis[-1] for lis in test_list]
  return (res) 
def rear_extract(test_list):
    _i_9 = 0
    if _i_9 < _i_9:
        res = [lis[-1] for lis in test_list]
   
    res = [lis[-1] for lis in test_list]
    return res