#include <bits/stdc++.h>
using namespace std;
int main()
{
	int s,h;
	cin>>s;
	if(s>=3&&s<=6){
		h=5*5*3;
	}else if(s>=7&&s<=10){
		h=5*15*3;
	}else{
		h=5*25*3;
	} 
	
	if(h/120==0){
		cout<<h/120;
	}else{
		cout<<(h/120)+1;
	}
	

return 0;

}

/**************************************************************
	Problem: 1310
	User: mc002
	Language: C++
	Result: Wrong Answer
****************************************************************/