Changing temperature discontinuously

Dear lammps users,

I intend to run a MD simulation in which the system has a constant temperature 300K for 50psec and then instantaneously it drops to 268K and remains at that temperature for another 50psec.

What is the best way to achieve this?

Kind regards,

Atreya.