#include <cstdio>
#include <algorithm>
#include <iostream>
#include <vector>
#include <string>
#include <cmath>
using namespace std;

int main(){
	double n;
	while(cin >> n){
		printf("%lf\n",n*7.81481481481);
	}
return 0;
}