def METHOD_NAME(input_seq: dict | list | tuple | set) -> list:
    """Returns the given input sequence as a list.
    If the input is a dict, it returns all values.
    """
    output = []
    if isinstance(input_seq, dict):
        input_seq = input_seq.values()
    for val in input_seq:
        if isinstance(val, dict | list | tuple | set):
            output += METHOD_NAME(val)
        else:
            output.append(val)
    return output