<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def msg_name(code):
 """Convert integer message code into a string name."""

    ids = {v: k for k, v in COMMANDS.items()}
    return ids[code]