Bir maratonda koşucu ilk etapta 12,8 km, ikinci etapta 9,75 km ve son etapta 15,4 km koşmuştur. Bu koşucu toplam kaç km koşmuştur?