#K46562. Weekly Steps Average
Weekly Steps Average
Weekly Steps Average
Given a list of 7 integers representing the number of steps taken each day of a week, your task is to compute the average daily steps. The average is calculated using the formula:
$$\text{Average} = \text{round}\left(\frac{\sum_{i=1}^{7} \text{steps}_i}{7}\right)$$
You must round the result to the nearest integer and output it.
inputFormat
The input consists of a single line with 7 space-separated integers. Each integer represents the number of steps taken on one day of the week.
outputFormat
Output a single integer -- the average number of steps per day, rounded to the nearest integer.
## sample3000 5000 7600 3200 8800 4300 5100
5286