problem
solution
codes
#include<iostream>
using namespace std;
const int maxn = 1010;
int f[maxn];
int main(){
int n; cin>>n;
for(int i = 1; i <= n; i++){
f[i] = 1;
for(int j = 0; j <= i/2; j++)f[i] += f[j];
}
cout<<f[n]<<"
";
return 0;
}