#D10941. Average Score

    ID: 9090 Type: Default 8000ms 134MiB

Average Score

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

inputFormat

Input

10 65 100 30 95

outputFormat

Output

68

样例

10
65
100
30
95
68