#include <cstdio>
int n,k;
int f(int a,int b)
{
if(b==k)
return 1;
if(a>n)
return 0;
return f(a+2,b+1)+f(a+1,b);
}
int main()
{
scanf("%d %d",&n,&k);
printf("%d",f(1,0));
}
To embed this project on your website, copy the following code and paste it into your website's HTML: