A thief escaped from police custody. Since he was sprinter he could clock 40 km/hr. The police realized it after 3 hr and started chasing him in the same direction at 50 km/hr. The police had a dog which could run at 60 km/hr. The dog could run to the thief and then return to the police and then would turn back towards the thief. If kept on doing so till the police caught the thief. Find the total distance travelled by the dog in the direction of the thief.