#include <stdio.h>
//課題3
int rec(int n){
//rec内を完成させてください
if(n==0){
return 3;
}
else if(n==1){
return 0;
}
else if(n==2){
return 2;
}
else{
return rec(n-2)+rec(n-3);
}
}
int main(void) {
int n = 50;
for(int i = 1; i <= n; i++){
int an=rec(i);
if(an%i==0){
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Ci8v6Kqy6aGMMwppbnQgcmVjKGludCBuKXsKLy9yZWPlhoXjgpLlrozmiJDjgZXjgZvjgabjgY/jgaDjgZXjgYQKIGlmKG49PTApewogCXJldHVybiAzOwogfQogZWxzZSBpZihuPT0xKXsKIAlyZXR1cm4gMDsKIH0KIGVsc2UgaWYobj09Mil7CiAJcmV0dXJuIDI7CiB9CiBlbHNlewogCXJldHVybiByZWMobi0yKStyZWMobi0zKTsKIH0KfQoKaW50IG1haW4odm9pZCkgewogICAgaW50IG4gPSA1MDsgCiAgICBmb3IoaW50IGkgPSAxOyBpIDw9IG47IGkrKyl7CiAgICAJIGludCBhbj1yZWMoaSk7CiAgICAgICAgCiAgICAgICAKICAgICAgICBpZihhbiVpPT0wKXsKICAgICAgICBwcmludGYoIiVkXG4iLGkpOwogICAgICAgIAogICAgfQogICAgCiAgICB9CiAgICAKCXJldHVybiAwOwp9Cg==