p00515 Average Score
problem

Five students, Taro, Jiro, Saburo, Shiro, and Hanako, participated in the JOI High School class.

In this class, a final exam was conducted. All five people took the final exam. For students with a final exam score of 40 or higher, the final exam score was used as is. All students with a final exam score of less than 40 received supplementary lessons and scored 40 points.

Create a program that calculates the average score of the five students' grades given the final exam scores of the five students.





Example

Input

10
65
100
30
95


Output

68
```python
data = []
kekka = []
for i in range(5):
    n = int(input())
    data.append(n)
for i in range(5):
    if data[i]<40:
        kekka.append(40)
    else:
        kekka.append(data[i])
print(int(sum(kekka)/5))        

```