#include using namespace std; int main(){ int N; cin >> N; int ans = 0; for(int T = 0; T <= 20; T++){ for(int G = 0; G <= T; G++){ for(int PG = 0; PG <= 33; PG++){ if(5 * T + 2 * G + 3 * PG == N) ans++; } } } cout << ans; }