All the four friends will meet at the starting point after LCM(60,90,40,80)=720seconds. Number of laps by A in 720seconds=12 Number of laps by B in 720seconds=8 Number of laps by C in 720seconds=18 Number of laps by D in 720seconds=9 Together they complete =47laps