Two boys A and B with masses 30 kg and 20 kg respectively are at the two extremes of a boat of mass 50 kg and length 5 m resting still on water. Boys A and B move towards each other and meet at the midpoint of the boat. During the process, the distance moved by the boat and boys is (Neglect friction between water and boat)