def character_from_structure(motivation):
assert len(motivation) == <NUM_LIT:3><EOL>_c = {<EOL>"<STR_LIT:+>": "<STR_LIT>",<EOL>"<STR_LIT:->": "<STR_LIT>",<EOL>'<STR_LIT:>>': "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT>": "<STR_LIT>",<EOL>"<STR_LIT:0>": "<STR_LIT>",<EOL>}<EOL>structure = '<STR_LIT>'.join([_c.get(x, x) for x in motivation])<EOL>return _cd.IDS.get(structure, '<STR_LIT:?>')<EOL>
Find a character for a given structure.