from typing import Union


def get_list_value(lst: Union[list, tuple], inds):
    """get value form index.

    Args:
        lst (Union[list, tuple]): target list.
        inds (Any): value from index.

    Returns:
        list: result

    """
    return [lst[i] for i in inds]