from typing import Sequence
from typing import List


def indexify(sequence: Sequence, index_source: Sequence) -> List:
    """For the given `sequence`, get the index of each item in the `index_source`"""
    return [index_source.index(item) for item in sequence]