import java.util.Scanner;
public class shuliexunhuan{
public static void main(String [] sgrs){
Scanner iuput = new Scanner(System.in);
System.out.print("输入一个数:");
int num = iuput.nextInt();
int [] shu = {8,4,2,1,23,344,12};
boolean has = false;
for(int i =0;i<shu.length;i++){
if( shu [i] ==num){
has = true;
break;
}
}
if(has){
System.out.println("存在");
}else{
System.out.println("不存在");
}
}
}