Mark = int (input("Enter your mark to show grade: "))

if Mark>=90:
    print("A")
elif Mark>=80:
    print("B")
elif Mark>=70:
    print("C")
elif Mark>=60:
    print("D")
elif Mark>=50:
    print("E")
elif Mark<50:
    print("Failed")
