In the train of 5 cars. Dima and Sasha lodge in one car. Dima goes not to 1 and in 4, Sasha-not in 1 and not in 5.v what car boys go?

We know for sure that Dima and Sasha go not by the first car, is told that Dima goes not in the fourth, and Sasha not in the fifth means it is possible to draw a conclusion that both boys go by the third car.
Answer add