As you just saw, you can allocate an additional qubit in the $\ket{-}$ state and use it as the target for our marking oracle.
This will kick back the $-1$ relative phase for the basis states $\ket{x}$ of the input register for which $f(x) = 1$.

@[solution]({
    "id": "oracles__marking_oracle_as_phase_solution",
    "codePath": "Solution.qs"
})
