def inn(type="<STR_LIT>"):
if (type in TYPES) and type == '<STR_LIT>':<EOL><INDENT>return person_inn()<EOL><DEDENT>else:<EOL><INDENT>return legal_inn()<EOL><DEDENT>
Return a random taxation ID number for either a person or a company.

    Further information on the topic can be found in [1] (in russian).
    [1]: https://ru.wikipedia.org/wiki/Идентификационный_номер_налогоплательщика