A man weighing 60 kg is standing on a flat boat having ends A and B, such that he is at a distance of 10 m from one end (B). The boat weighs 20 kg and there is no friction between it and the water. If the man walks 4 m relative to the boat towards the end (B) and stops, then how far is the man from the end B ?