def get_sex(code):
assert isvalid(code)<EOL>return int(code[<NUM_LIT:9>:<NUM_LIT:11>]) < <NUM_LIT:32> and '<STR_LIT:M>' or '<STR_LIT:F>'<EOL>
``get_sex(code) -> string``

    The sex of the person whose fiscal code is 'code'.

    eg: sex('RCCMNL83S18D969H') -> 'M'
        sex('CNTCHR83T41D969D') -> 'F'