Programming/백준

[백준] 10039 - 평균 점수 (파이썬)

pental 2020. 4. 5. 12:10

a = int(input())
b = int(input())
c = int(input())
d = int(input())
e = int(input())

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

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