def getGrades(mark)
    if (grade >= 80) :
        return("A")
    if grade >= 70:
        return("B")
    if grade >= 60:
        return("C")
    if grade >= 50:
        return("D")
    return "F" 

getGrades(87)