Medium
Average Speed of a Trip
A trip has two parts. Read the distance and time of each part (four numbers, km and hours). Print the average speed of the whole trip (total distance / total time) with 2 decimals.
Input
Four numbers.
Output
One number.
Sample 1
Input
60 1 60 2
Output
40.00
Sample 2
Input
100 2 0 1
Output
33.33
Output appears here