#include <stdio.h>
int main(void) {
int a[32], n, i, j, count,sum;
i=0;
a[0]=2;
a[1]=-1;
sum=0;
for(n=2;n<=32;n++){
a[n]=-a[n-1]+a[n-2]+2;
}
for(j=0;j<=32;j++){
count=0;
if(a[j]>=2){
for(i=2;i<a[j];i++){
if(a[j]%i==0)
count++;}
if(count<=0)
sum++;
}}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgYVszMl0sIG4sIGksIGosIGNvdW50LHN1bTsKCWk9MDsKCWFbMF09MjsKCWFbMV09LTE7CglzdW09MDsKCWZvcihuPTI7bjw9MzI7bisrKXsKCQlhW25dPS1hW24tMV0rYVtuLTJdKzI7Cgl9Cglmb3Ioaj0wO2o8PTMyO2orKyl7CgkJY291bnQ9MDsKCQlpZihhW2pdPj0yKXsKCQkJZm9yKGk9MjtpPGFbal07aSsrKXsKCQkJCWlmKGFbal0laT09MCkKCQkJCQljb3VudCsrO30KCQkJCWlmKGNvdW50PD0wKQoJCQkJCXN1bSsrOwoJfX0KCXByaW50ZigiJWQiLHN1bSk7CglyZXR1cm4gMDsKfQo=