https://www.acmicpc.net/problem/10039


a = int(input())
if a < 40:
    a += 40 
b = int(input())
if b < 40:
    b += 40 
c = int(input())
if c < 40:
    c += 40 
d = int(input())
if d < 40:
    d += 40 
e = int(input())
if e < 40:
    e += 40 

print(int((a + b + c + d + e) // 5 ))


10

65

100

30

95

이렇게 넣으면 68 나와야 되는데 
76이 나와영