# print("Please input your age")
# age=int(input("Age: "))

# if age >= 18:
#     print("Eligible to drive but not a psv")

# elif age >= 21:
#     print("Eligible to drive psv")

# else:
#     print("Not Eligible to drive")

print("Enter your mark")
mark=int(input("Mark: "))

if mark >= 70:
    print("Passed Grade A")
elif mark >= 60:
    print("Passed Grade B")
elif mark >= 50:
    print("Passed Grade C")
else:
    print("fail grade D")