<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def uuid_to_username(uuid):
 """ Convert UUID to username. 'u-ad52zgilvnpgnduefzlh5jgr6y' 'u-ad52zgilvnpgnduefzlh5jgr6y' """

    uuid_data = getattr(uuid, 'bytes', None) or UUID(uuid).bytes
    b32coded = base64.b32encode(uuid_data)
    return 'u-' + b32coded.decode('ascii').replace('=', '').lower()