def build(surname, name, birthday, sex, municipality):
<EOL>output = __surname_triplet(surname) + __name_triplet(name)<EOL>output += str(birthday.year)[<NUM_LIT:2>:]<EOL>output += MONTHSCODE[birthday.month - <NUM_LIT:1>]<EOL>output += "<STR_LIT>" % (sex.upper() == '<STR_LIT:M>' and birthday.day or <NUM_LIT> + birthday.day)<EOL>output += municipality<EOL>output += control_code(output)<EOL>assert isvalid(output)<EOL>return output<EOL>
``build(surname, name, birthday, sex, municipality) -> string``

    Computes the fiscal code for the given person data.

    eg: build('Rocca', 'Emanuele', datetime.datetime(1983, 11, 18), 'M', 'D969') 
        -> RCCMNL83S18D969H