15 lines
242 B
Python
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")
|