A ball of mass 4 kg moving on a smooth horizontal surface makes an elastic collision with another ball of mass m at rest in the line of motion of first ball, if after collision first ball moves in the same direction with one fourth of its velocity before collision, then mass of second ball is :