i need help

i have a 18mm female piece stuck in the joint of my bong and the top of the female is broken off so i cantt pull it out. How do i get the female piece out safely?
 
Top