//Do not declare variable marks.
//Write your code below this line.
console.log(getAnswer(marks));
function getAnswer(marks){
    if(marks > 90) return 'AA';
    if(marks > 80) return 'AB';
    if(marks > 70) return 'BB';
    if(marks > 60) return 'BC';
    if(marks > 50) return 'CC';
    if(marks > 40) return 'CD';
    if(marks > 30) return 'DD';
    return 'FF';
}