Problems
224 - Bus Travelling
SUBMIT PROBLEM

Bus Travelling

Time Limit: 1 sec

 

The Problem

Mr. Khan was going to Dhaka from Chittagong. Suddenly a thought came to his mind. He was thinking if a bus runs D km in T hours since 8 in the morning on the way from Chittagong to Dhaka, and reached Dhaka at 3 in the noon then what will be the average speed of the bus. He also came in a conclusion that average speed can not mean the bus travels average speed in every hour rather it might travel sometimes faster or sometimes slower than the average speed

 

 

The Input

The input file contains 7 integer number which denotes the Distances.

 

The Output

Output will show the Average Speed in a separate line.

 

Sample Input

45 35 20 60 25 55 40

 

Sample Output

40

 

 

 

 

 

Problem Setter: Shaquib Mahmud

Special thanks to Samia Safa Ahmed