#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++){
if(rec(i)%i==0){
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Ci8v6Kqy6aGMMwppbnQgcmVjKGludCBuKXsKLy9yZWPlhoXjgpLlrozmiJDjgZXjgZvjgabjgY/jgaDjgZXjgYQKIGlmIChuPT0wKXsKCXJldHVybiAzOwp9CmVsc2UgaWYgKG49PTEpewoJcmV0dXJuIDA7Cn0KZWxzZSBpZiAobj09Mil7CglyZXR1cm4gMjsKfQplbHNlIHsKCXJldHVybiByZWMobi0yKStyZWMobi0zKTsKfQp9CgppbnQgbWFpbih2b2lkKSB7CiAgICBpbnQgbiA9IDUwOyAKICAgIGZvcihpbnQgaSA9IDE7IGkgPD0gbjsgaSsrKXsKaWYocmVjKGkpJWk9PTApewogICAgICAgIHByaW50ZigiJWRcbiIsIGkpOwogICAgfQogICAgfQoJcmV0dXJuIDA7CiAgICB9CgoK