A telescopic one-pot synthesis of β-lactam rings using amines as a convenient source of imines