P12583 [AOJ] 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

输入格式

见题面

输出格式

见题面

样例输入
10 65 100 30 95
样例输出
68