#include<bits/stdc++.h>
using namespace std;
int main()
{
	double x;
	cin>>x;
	if(x>=1.3){
		cout<<120<<endl;
	}else{
		cout<<60<<endl;
	}
	return 0;
}

/**************************************************************
	Problem: 1037
	User: zhuangsongyu
	Language: C++
	Result: Accepted
	Time:14 ms
	Memory:2072 kb
****************************************************************/