Quantum physics

In a Feynman diagram, the conservation of four-momentum at each vertex is enforced by a factor of (2π)⁴ δ⁴(Σ p_in - Σ p_out). If a vertex has two incoming momenta p₁, p₂ and one outgoing momentum p₃, which delta function is correct?