#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+Ci8v6Kqy6aGMMwppbnQgcmVjKGludCBuKXsKCS8vcmVj5YaF44KS5a6M5oiQ44GV44Gb44Gm44GP44Gg44GV44GECglpZihuPT0wKXsKCQlyZXR1cm4gMzsKCX1lbHNlIGlmKG49PTEpewoJCXJldHVybiAwOwoJfWVsc2UgaWYobj09Mil7CgkJcmV0dXJuIDI7Cgl9ZWxzZXsKCQlyZXR1cm4gcmVjKG4tMikrcmVjKG4tMyk7Cgl9Cn0KCmludCBtYWluKHZvaWQpIHsKICAgIGludCBuID0gNTA7IAogICAgZm9yKGludCBpID0gMTsgaSA8PSBuOyBpKyspewogICAgICAgIGlmKHJlYyhpKSVpID09IDApewogICAgICAgIAlwcmludGYoInslZH0iLGkpOwogICAgICAgIH0KICAgICAgICAKICAgIH0KICAgIAoJcmV0dXJuIDA7Cn0KCg==