Safe seats: closer to the middle of the carriage. It’s better to choose the 5th or 6th carriage, one closer to the middle of the train, as in a collision the first and last carriages either deform or go off the rails.
Dangerous seats: seats in the direction of travel as there are fewer chances you’ll fall down with a sudden braking.