package text04;
import java.util.Scanner;
public class Text02 {
public static void main(String[] args){
Scanner flag=new Scanner(System.in);
//多重if
System.out.println("请输入成绩");
int score=flag.nextInt();
if(score>=90){
System.out.println("优");
}else if(score>=80){
System.out.println("良");
}else if(score>=70){
System.out.println("中");
}else if(score>=60){
System.out.println("合格");
}else{
System.out.println("不合格");
}
}
}