score=float(input("Enter Your Score"))
if(score<=90 and score>=100):
print("S-Tier")
elif(score<=80 and score>=90):
print("A-Tier")
elif(score<=70 and score>=80):
print("B-Tier")
elif(score<=60 and score>=70):
print("D-Tier")
elif(score<=50 and score>=60):
print("E-Tier")
elif(score<=0 and score>=50):
print("F-Tier")