def FindIndex(x, y):
    """
    Find index of y in x
    :param x: a list
    :param y: the target to find, which is a number.
    :return: a index list indicating the location of y in x.
    """
    return [a for a in range(len(x)) if x[a] == y]