#include <iostream>
#define w 200
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
int n;
while(cin>>n){
long long int M[w+1]={1};
for(int i=1;i<=w;i++){for(int j=i;j<=w;j++) M[j]+=M[j-i];}
cout<<M[n]<<"\n";
}
return 0;
}