#include<bits/stdc++.h>
using namespace std;
int main(){
	char a;
	cin>>a;
	if(a<1.3){
		cout<<"60";
	}else{
		cout<<"120";
	}
	
}

/**************************************************************
	Problem: 1037
	User: yangjunwen
	Language: C++
	Result: Wrong Answer
****************************************************************/