From there, he traveled to Madrid and then on to Barcelona with friends via the train.
Next, he traveled to Madrid and then to Barcelona with friends on the train.
Next, he traveled to Madrid and then to Barcelona with friends on the train.
Rewrite this sentence for simplicity: From there, he traveled to Madrid and then on to Barcelona with friends via the train. Output: