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


//输出瓶数:

if(h%120==0){
	cout<<h/120; 
}else{
	cout<<(h/120)+1; 
}







	return 0;
}

/**************************************************************
	Problem: 1310
	User: zy002
	Language: C++
	Result: Accepted
	Time:12 ms
	Memory:2072 kb
****************************************************************/