A bird is sitting on train A moving towards East with a velocity 300 km/hr. Another train B of same speed is moving in West direction on the same track. When the trains are 6 km apart, the bird starts flying with a velocity 30 km/hr with respect to ground towards B. After touching B, it returns back to A and continue repeating this process until the trains collide. In this process, the total distance traveled by the bird is: