Two trains start from stations A and B spaced 150kms apart at the same time and speed. As the trains start, a bird flies from one train towards the other and on reaching the second train, it flies back to the first train. This is repeated till the trains collide. If the speed of the trains is 50 km/h and that of the bird is 50km/h. How much did the bird travel till the collision.

--James.