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