#include #include using namespace std; using namespace atcoder; using ll=long long; using ld=long double; ld pie=3.141592653589793; ll inf=144499999999994; ll mod=998244353; int main(){ ll n; cin >> n; ll ans=0; for (ll i = 0; i < 100; i++) { for (ll j = 0; j <=i; j++) { for (ll k = 0; k < 100; k++) { if (i*5+j*2+k*3==n) { ans+=1; } } } } cout << ans << endl; }