<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def get_slotname(slot, host=None, admin_username=None, admin_password=None):
    '''
    Get the name of a slot number in the chassis.

    slot
        The number of the slot for which to obtain the name.

    host
        The chassis host.

    admin_username
        The username used to access the chassis.

    admin_password
        The password used to access the chassis.

    CLI Example:

    .. code-block:: bash

        salt-call --local dracr.get_slotname 0 host=111.222.333.444
           admin_username=root admin_password=secret

    '''
    slots = list_slotnames(host=host, admin_username=admin_username,
                           admin_password=admin_password)
    # The keys for this dictionary are strings, not integers, so convert the
    # argument to a string
    slot = six.text_type(slot)
    return slots[slot]['slotname']