Files
kattis/grading.py
2023-07-03 20:20:25 +02:00

15 lines
242 B
Python

a, b, c, d, e = map(int, input().split())
score = int(input())
if score >= a:
print("A")
elif score >= b:
print("B")
elif score >= c:
print("C")
elif score >= d:
print("D")
elif score >= e:
print("E")
else:
print("F")