From Zlatoust to Miass, a "GAZ", a "MAZ", and a "KamAZ" set off simultaneously. The "KamAZ", upon reaching Miass, immediately turned back and met the "MAZ" 18 km from Miass, and the "GAZ" - 25 km from Miass. The "MAZ", upon reaching Miass, also immediately turned back and met the "GAZ" 8 km from Miass. What is the distance from Zlatoust to Miass?