Three runners A, B, C run a race, with runner A finishing 12 metres ahead of runner B and 18 metres ahead of runner C. In another race of same length, 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 :