Solitons in fibers with lumped amplifiers