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