#include<bits/stdc++.h>
using namespace std;
int main(){
	float h;
	cin>>h;
	if(h>=1.3){
		cout<<120;
	}else{
		cout<<60;
	}
	return 0;
}
/**************************************************************
	Problem: 1037
	User: fuhoubin
	Language: C++
	Result: Wrong Answer
****************************************************************/