#include <bits/stdc++.h>
using namespace std;
int main(){
float f;
cin>>f;
if(f<=10)cout<<2.5;
else cout<<2.5+f*1.5;
cout<<0;
return 0;
}
/**************************************************************
Problem: 1043
User: zhouhongyi
Language: C++
Result: Wrong Answer
****************************************************************/