<image>Five cars participated in a race, starting in the order shown.
<image1>. Whenever a car overtook another car, a point was awarded. The cars reached the finish line in the following order: <image2>. What is the smallest number of points in total that could have been awarded?