Three trucks delivered potatoes to a warehouse. The first truck delivered 5 7/8 tons of potatoes, the second one 6 1/2 tons more. If the three trucks delivered 25 tons of potatoes in total, then how many tons were delivered by the third truck?