def first_position(values, target):
    # Search in order and return the first matching index.
    pass
