How to determine the gender of a frog