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