What is the latecomer (Masbuq) legally required to do regarding the concluding Salaams of the Imam?

The Etiquettes of Prayer (آداب الصلاة)