#include <iostream>
using namespace std;
int main() {
unsigned long long DP[201] = {1, 0};
for ( int i = 1; i <= 200; ++i )
for ( int j = i; j <= 200; ++j )
DP[j] = max ( DP[j], DP[j] + DP[j - i] ); // DP[j] += DP[j - i]);
int n;
while ( cin >> n ) {
cout << DP[n] << endl;
}
return 0;
}