Respuesta :

it was in line after they got off the train
It would be when the soldiers split the groups into lines by gender.