def swap_dict(input_dict):
    """
    Swap keys and values of the provided dictionary so that the returned
    dictionary has the values as keys and the keys as values.

    Args:
        input_dict (dict): Input dictionary

    Returns:
        dict: swapped dictionary
    """
    return {k: v for v, k in input_dict.items()}