def best_per_pos(xs, x):
    """
    :param xs: List of numbers
    :param x: Number
    :return: The positions in the list _xs_ where _x_ appears
    """
    return [i for i, j in enumerate(xs) if j == x]