A man travels 100km by train at 40km/hr, 200km by ship at 20km/hr, 300km by aeroplane at 100km/hr and 100km by car at 50km/hr. What is the average speed for the entire distance?	Choose the correct choice from the following answers:
A) 35.3km/hr
B) 40km/hr
C) 48.9km/hr
D) 52.6km/hr
E) 27.6km/hr
Total distance traveled = 100+200+300+100= 
<gadget id="calculator">100+200+300+100</gadget>
<output>700</output>
700km   Total time taken= 100/40 + 200/20 + 300/100 + 100/50= 
<gadget id="calculator">100/40 + 200/20 + 300/100 + 100/50</gadget>
<output>35/2 = around 17.5</output>
17.5 hrs   Average speed= 700/17.5= 
<gadget id="calculator">700/17.5</gadget>
<output>40</output>
40km/hr approximately ;   Answer is 40km/hr
<result>B</result>
A man travels 100km by train at 40km/hr, 200km by ship at 20km/hr, 300km by aeroplane at 100km/hr and 100km by car at 50km/hr. What is the average speed for the entire distance?