Three runners A,B and C run a race, with runner A finishing 12 meters ahead of runner B and 18 meters ahead of runner C, while runner B finishes 8 meters ahead of runner C. Each runner travels the entire distance at a constant speed. The length of the race is