import java.util.Scanner;
public class TouchType {
public static void main(String[] args){
while(true){
System.out.println("请输入分数:");
Scanner sc=new Scanner(System.in);
int t=sc.nextInt();
if(t<30)
System.out.println("不及格");
else
if(t>30)
System.out.println("及格");
}
}
}