#include<bits/stdc++.h>
using namespace std;
int main(){
int x,y=0,z=0;
float p=0;
cin>>x;
y=x*0.8;
z=x*0.9;
p=(x+y+z)/3.0;
printf("%.1f",p);
}
/**************************************************************
Problem: 1613
User: sucongyi
Language: C++
Result: Wrong Answer
****************************************************************/