#include<bits/stdc++.h>
using namespace std;
int main(){
    int n;
    cin>>n;
    int x;
    if(n>10) x=25*3*5;
    else if(n>=7&&n<=10) x=15*3*5;
    else if(n>=3&&n<=6) x=5*3*5;
    if(x%120++0) cout<<x/120;
    else cout<<(x/120)+1;
}
/**************************************************************
	Problem: 1310
	User: fandaohan
	Language: C++
	Result: Compile Error
****************************************************************/