students = {
    "male": ["Tom", "Charlie", "Harry", "Frank"],
    "female":["Sarah", "Huda", "Samantha", "Emily", "Elizabeth"]
    }

for anahtar in students.keys():
    for isim in students[anahtar]:
        print(anahtar, isim)
