#include<bits/stdc++.h>
using namespace std;
int main(){
	int n,x;
	cin>>n;
	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: zengyixuan
	Language: C++
	Result: Accepted
	Time:28 ms
	Memory:2072 kb
****************************************************************/