A ball of mass 100 g is projected vertically upward from the ground with a velocity of 49 m/s. At the same time another ball is dropped from a height of 98 m to fall freely along the same path as the first ball. After some time the two balls collide and stick together and finally fall together.Find the time of flight of masses.