Is there a way to get user input for lists?

I made 2 lists one with boy names and one with girl names. Is there a way for the person using the app to choose which lists they would rather use?

how the user to choose boy or girl? with button? checkbox? switch? dropdown list picker?

Make a single list of lists (a table) with name and type (M/F) in each row.

Filter the table by type.