public class GrassHopper {
public static char getGrade(int s1, int s2, int s3) {
int score = (s1 + s3 + s3) / 3;
if(score >= 90 && score <= 100)return 'A';
else if(score >= 80) return 'B';
else if(score >= 70) return 'C';
else if(score >= 60) return 'D';
return 'F';
}
}