#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/jgaDjgZXjgYQKIGlmKG49PTApewogIHJldHVybiAzOyAgIH0KCiAgIGVsc2UgaWYobj09MSl7CiAgcmV0dXJuIDA7ICAgfQoKICAgZWxzZSBpZihuPT0yKXsKICAgcmV0dXJuIDI7ICB9CgogICBlbHNlewogICByZXR1cm4gcmVjKG4tMikrcmVjKG4tMyk7ICB9Cn0KCmludCBtYWluKHZvaWQpIHsKICAgIGludCBuID0gNTA7IAogICAgZm9yIChpbnQgaSA9IDE7IGkgPD0gbjsgaSsrKXsKICAgICAgIGludCBhbiA9IHJlYyhpKTsKICAgICAgIGlmKGFuICUgaSA9PSAwKXsKICAgICAgICBwcmludGYoIm49ICVkXG4gIiwgaSk7CiAgICB9CiAgICB9CglyZXR1cm4gMDsKfQo=