Enter gender as 'M', 'F', or 'O' for other.

records

records
gender

output

output