import java.util.Scanner;
public class TouchType
{
public static void main(String args[])
{
int score = 00 ;
Scanner sc = new Scanner(System.in);
while(sc.hasNextInt()){
score = sc.nextInt();
if(score<15)
System.out.println("不及格");
else if(score <=30)
System.out.println("成绩为10分");
else if(score >= 30)
System.out.println("成绩为15分");
}
}
}
public class TouchType
{
public static void main(String args[])
{
int score = 00 ;
Scanner sc = new Scanner(System.in);
while(sc.hasNextInt()){
score = sc.nextInt();
if(score<15)
System.out.println("不及格");
else if(score <=30)
System.out.println("成绩为10分");
else if(score >= 30)
System.out.println("成绩为15分");
}
}
}