def get_class(c: str, class_dict: dict) -> list:
    """
    Gets class index for given class from classes dictionary.

    :param c:                       Class string.
    :param class_dict:              Classes dictionary.
    :return:                        Class index.
    """
    return list(class_dict.keys())[list(class_dict.values()).index(c)]