rodne_cislo = '870731/6343'

def pohlavi(rodne_cislo):
    if int(rodne_cislo[2:4]) > 50
        return Zena
    else:
        return Muz
print(pohlavi(rodne_cislo))
dafb9b7e35e1efe30b22c914bfe9aaf3cb17fa03
rodne_cislo = '870731/6343'

def pohlavi(rodne_cislo):
    if int(rodne_cislo[2:4]) > 50
        return Zena
    else:
        return Muz
print(pohlavi(rodne_cislo))