Input in a repeating group and reset CS

I think you’re looking for this