<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def lookup(self, mac):
 """Find OUI name matching to a MAC"""

        oui = ":".join(mac.split(":")[:3]).upper()
        return self[oui]